]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/classic/core/primitives/primitives.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / spirit / home / classic / core / primitives / primitives.hpp
index cd87c3dda88d08f66318c825cf5e7c06c00e06f6..93b5b22eb2488600c6f77958ed0490a5fe002367 100644 (file)
@@ -56,7 +56,7 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
                 if (this->derived().test(ch))
                 {
                     iterator_t save(scan.first);
-                    ++scan.first;
+                    ++scan;
                     return scan.create_match(1, ch, save, scan.first);
                 }
             }
@@ -589,14 +589,14 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
 
             if (!scan.at_end() && *scan == '\r')    // CR
             {
-                ++scan.first;
+                ++scan;
                 ++len;
             }
 
             // Don't call skipper here
             if (scan.first != scan.last && *scan == '\n')    // LF
             {
-                ++scan.first;
+                ++scan;
                 ++len;
             }