]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/alternative.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / alternative.cpp
index 9162e943325c2ec089403a6526108ce1993ddf21..f88ff4895d829d3fb19d48533769e2dfa104317a 100644 (file)
@@ -64,6 +64,7 @@ main()
     using boost::spirit::x3::omit;
     using boost::spirit::x3::eps;
 
+    BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(char_ | char_);
 
     {
         BOOST_TEST((test("a", char_ | char_)));
@@ -241,7 +242,7 @@ main()
         BOOST_TEST(boost::get<char>(&boost::fusion::front(attr_)) == nullptr);
     }
 
-    { // ensure no unneded synthesization, copying and moving occured
+    { // ensure no unneeded synthesization, copying and moving occurred
         auto p = '{' >> int_ >> '}';
 
         stationary st { 0 };