]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/x3/core/action.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / core / action.hpp
index 3feab05f52ecab2e54059c7666abd727eea8f46d..0f2f552df62078651712d7eb9d0541a8eff77f74 100644 (file)
@@ -31,7 +31,7 @@ namespace boost { namespace spirit { namespace x3
         static bool const is_pass_through_unary = true;
         static bool const has_action = true;
 
-        action(Subject const& subject, Action f)
+        constexpr action(Subject const& subject, Action f)
           : base_type(subject), f(f) {}
 
         template <typename Iterator, typename Context, typename RuleContext, typename Attribute>
@@ -100,7 +100,7 @@ namespace boost { namespace spirit { namespace x3
     };
 
     template <typename P, typename Action>
-    inline action<typename extension::as_parser<P>::value_type, Action>
+    constexpr action<typename extension::as_parser<P>::value_type, Action>
     operator/(P const& p, Action f)
     {
         return { as_parser(p), f };