]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/x3/omit.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / spirit / test / x3 / omit.cpp
index f89a4851a2cb4d310e4bd7ef58ffec2646586fd2..db9040665a6d88ad5077660c3f6f710b74f69dc1 100644 (file)
@@ -28,6 +28,8 @@ main()
     using spirit_test::test;
     using spirit_test::test_attr;
 
+    BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(omit['x']);
+
     {
         BOOST_TEST(test("a", omit['a']));
     }
@@ -83,7 +85,7 @@ main()
 
     {
         // if only one node in a sequence is left (all the others are omitted),
-        // then we need "naked" attributes (not wraped in a tuple)
+        // then we need "naked" attributes (not wrapped in a tuple)
         int attr;
         BOOST_TEST((test_attr("a 123 c", omit['a'] >> int_ >> omit['c'], attr, space)));
         BOOST_TEST((attr == 123));