]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / spirit / home / x3 / support / traits / variant_find_substitute.hpp
index d258d54dc503931adb5caa9019e8160e4e0b10c5..da18034481ae96f9ab4bdcf694383aea4df2b523 100644 (file)
@@ -9,6 +9,7 @@
 #define BOOST_SPIRIT_X3_VARIANT_FIND_SUBSTITUTE_APR_18_2014_930AM
 
 #include <boost/spirit/home/x3/support/traits/is_substitute.hpp>
+#include <boost/mpl/find.hpp>
 
 namespace boost { namespace spirit { namespace x3 { namespace traits
 {
@@ -22,9 +23,7 @@ namespace boost { namespace spirit { namespace x3 { namespace traits
         typedef typename variant_type::types types;
         typedef typename mpl::end<types>::type end;
 
-        typedef typename
-            mpl::find_if<types, is_same<mpl::_1, Attribute> >::type
-        iter_1;
+        typedef typename mpl::find<types, Attribute>::type iter_1;
 
         typedef typename
             mpl::eval_if<