summaryrefslogtreecommitdiff
path: root/zenXml/zenxml/parser.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-06-20 07:46:53 -0400
committerB. Stack <bgstack15@gmail.com>2023-06-20 07:46:53 -0400
commitf76994f1fb3e25c4563c9d8afce6bbc86701d1d2 (patch)
treeb39389163603195a0169af57712eb0765e5c11f4 /zenXml/zenxml/parser.h
parentadd upstream 12.3 (diff)
downloadFreeFileSync-12.4.tar.gz
FreeFileSync-12.4.tar.bz2
FreeFileSync-12.4.zip
add upstream 12.412.4
Diffstat (limited to 'zenXml/zenxml/parser.h')
-rw-r--r--zenXml/zenxml/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenXml/zenxml/parser.h b/zenXml/zenxml/parser.h
index 14ccfd60..8416c211 100644
--- a/zenXml/zenxml/parser.h
+++ b/zenXml/zenxml/parser.h
@@ -314,7 +314,7 @@ public:
explicit 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 XmlParsingError
bgstack15