From f76994f1fb3e25c4563c9d8afce6bbc86701d1d2 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 20 Jun 2023 07:46:53 -0400 Subject: add upstream 12.4 --- zen/json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zen/json.h') diff --git a/zen/json.h b/zen/json.h index be2cfbab..8959e995 100644 --- a/zen/json.h +++ b/zen/json.h @@ -333,7 +333,7 @@ public: Scanner(const std::string& stream) : stream_(stream), pos_(stream_.begin()) { if (zen::startsWith(stream_, BYTE_ORDER_MARK_UTF8)) - pos_ += strLength(BYTE_ORDER_MARK_UTF8); + pos_ += BYTE_ORDER_MARK_UTF8.size(); } Token getNextToken() //throw JsonParsingError -- cgit