]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/x3/numeric/uint.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / numeric / uint.hpp
index 172c1087059155a80442a453fb1b0e2d99df05df..869ee48f91a7cd00ff2b431f9c864052b3024c6d 100644 (file)
@@ -43,7 +43,7 @@ namespace boost { namespace spirit { namespace x3
 
 #define BOOST_SPIRIT_X3_UINT_PARSER(uint_type, name)                            \
     typedef uint_parser<uint_type> name##type;                                  \
-    name##type const name = {};                                                 \
+    constexpr name##type name = {};                                             \
     /***/
 
     BOOST_SPIRIT_X3_UINT_PARSER(unsigned long, ulong_)
@@ -60,7 +60,7 @@ namespace boost { namespace spirit { namespace x3
 
 #define BOOST_SPIRIT_X3_UINT_PARSER(uint_type, radix, name)                     \
     typedef uint_parser<uint_type, radix> name##type;                           \
-    name##type const name = name##type();                                       \
+    constexpr name##type name = name##type();                                   \
     /***/
 
     BOOST_SPIRIT_X3_UINT_PARSER(unsigned, 2, bin)