]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/python/test/enum_ext.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / python / test / enum_ext.cpp
index e5c4f4fa91461c3283009eeb6d0132235d63b5ab..74224f1d77cbd4229838a73590601a3fe3f194dc 100644 (file)
@@ -7,7 +7,7 @@
 #include <boost/python/module.hpp>
 #include <boost/python/class.hpp>
 #if BOOST_WORKAROUND(__MWERKS__, <= 0x2407)
-# include <boost/type_traits/is_enum.hpp>
+#include <boost/python/detail/type_traits.hpp>
 # include <boost/mpl/bool.hpp>
 #endif 
 using namespace boost::python;
@@ -17,7 +17,7 @@ enum color { red = 1, green = 2, blue = 4, blood = 1 };
 #if BOOST_WORKAROUND(__MWERKS__, <= 0x2407)
 namespace boost  // Pro7 has a hard time detecting enums
 {
-  template <> struct is_enum<color> : boost::mpl::true_ {};
+  template <> struct boost::python::detail::is_enum<color> : boost::mpl::true_ {};
 }
 #endif