]> git.lyx.org Git - lyx.git/blobdiff - 3rdparty/boost/boost/concept/detail/general.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / concept / detail / general.hpp
index 525ea656c2dbdc784cf5f5875b410c0227fc39de..eeb08750f1c483d1fbf9f77332e8a2950b2de1b0 100644 (file)
@@ -10,7 +10,7 @@
 
 # ifdef BOOST_OLD_CONCEPT_SUPPORT
 #  include <boost/concept/detail/has_constraints.hpp>
-#  include <boost/mpl/if.hpp>
+#  include <boost/type_traits/conditional.hpp>
 # endif
 
 // This implementation works on Comeau and GCC, all the way back to
@@ -49,8 +49,8 @@ struct constraint
   
 template <class Model>
 struct requirement_<void(*)(Model)>
-  : mpl::if_<
-        concepts::not_satisfied<Model>
+  : boost::conditional<
+        concepts::not_satisfied<Model>::value
       , constraint<Model>
       , requirement<failed ************ Model::************>
     >::type