summaryrefslogtreecommitdiff
path: root/zenXml/zenxml/parser.h
diff options
context:
space:
mode:
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