]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/support/regression_multi_pass_position_iterator.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / spirit / test / support / regression_multi_pass_position_iterator.cpp
index c5dbddcb2f9b717ee46a0d1eca4306df96f6ebcb..6df9d2f47cb65d74071668754abf4eca4914b728 100644 (file)
@@ -21,6 +21,11 @@ int main()
     qi::rule<iterator_type, std::string(), qi::blank_type> top =
         qi::lexeme[+char_enc::alpha];
 
-    return 0;
+    // I do not know what the hell is going under the hood of MSVC 9,
+    // but the next line fixes compilation error.
+    // error C3767: '!=': candidate function(s) not accessible
+    iterator_type first, last;
+
+    return first == last; // just to silence unused variable warnings
 }