summaryrefslogtreecommitdiff
path: root/zen/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/json.h')
-rw-r--r--zen/json.h2
1 files changed, 1 insertions, 1 deletions
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
bgstack15