summaryrefslogtreecommitdiff
path: root/boost/python/opaque_pointer_converter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/opaque_pointer_converter.hpp')
-rw-r--r--boost/python/opaque_pointer_converter.hpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/boost/python/opaque_pointer_converter.hpp b/boost/python/opaque_pointer_converter.hpp
index 10eb4234c8..e95c49bbfe 100644
--- a/boost/python/opaque_pointer_converter.hpp
+++ b/boost/python/opaque_pointer_converter.hpp
@@ -172,28 +172,19 @@ PyTypeObject opaque<Pointee>::type_object =
};
}} // namespace boost::python
-# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
-
-# define BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(Pointee)
-
-# else
-
// If you change the below, don't forget to alter the end of type_id.hpp
# define BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID(Pointee) \
namespace boost { namespace python { \
template<> \
- inline type_info type_id<Pointee>(BOOST_PYTHON_EXPLICIT_TT_DEF(Pointee)) \
+ inline type_info type_id<Pointee>() \
{ \
return type_info (typeid (Pointee *)); \
} \
template<> \
- inline type_info type_id<const volatile Pointee&>( \
- BOOST_PYTHON_EXPLICIT_TT_DEF(const volatile Pointee&)) \
+ inline type_info type_id<const volatile Pointee&>() \
{ \
return type_info (typeid (Pointee *)); \
} \
}}
-# endif
-
# endif // OPAQUE_POINTER_CONVERTER_HPP_