From 2531792fa8da2a2f2ae218c43937f88028d26888 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 19 Jul 2017 10:01:27 +0800 Subject: adding codes. --- MoonParser/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MoonParser/parser.cpp') diff --git a/MoonParser/parser.cpp b/MoonParser/parser.cpp index 5a7da73..6778368 100644 --- a/MoonParser/parser.cpp +++ b/MoonParser/parser.cpp @@ -273,11 +273,11 @@ public: private: //string - std::vector m_string; + std::vector m_string; //parse the string bool _parse(_context &con) const { - for(std::vector::const_iterator it = m_string.begin(), + for(std::vector::const_iterator it = m_string.begin(), end = m_string.end();;) { if (it == end) return true; -- cgit v1.2.3-55-g6feb