diff --git a/src/lib_json/json_reader.cpp b/src/lib_json/json_reader.cpp index 2f901f510..39af2c4c1 100644 --- a/src/lib_json/json_reader.cpp +++ b/src/lib_json/json_reader.cpp @@ -988,6 +988,7 @@ class OurReader { // CharReaderTest/parseCommentsAfterValueScansLinearly). thread_local so it // never races during concurrent parsing; the increment is negligible and only // runs while parsing comments. Not part of the supported public API. +JSON_API size_t& newlineScanByteCountForTesting(); JSON_API size_t& newlineScanByteCountForTesting() { static thread_local size_t count = 0; return count;