]> git.stg.codes - stg.git/blobdiff - projects/sgconf_xml/parser.cpp
Replace update user authorization loop with std::for_each
[stg.git] / projects / sgconf_xml / parser.cpp
index 12a1c7a2d4bb171948167762548047a23e3dd747..919a8c19dab273125d3de0fffbef9f2663232c26 100644 (file)
@@ -162,7 +162,7 @@ while (n != ans->end())
 
     if (++n == ans->end())
         done = 1;
-    n--;
+    --n;
 
     if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR)
         {