summaryrefslogtreecommitdiff
path: root/boost/python/converter/shared_ptr_to_python.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/converter/shared_ptr_to_python.hpp')
-rw-r--r--boost/python/converter/shared_ptr_to_python.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/python/converter/shared_ptr_to_python.hpp b/boost/python/converter/shared_ptr_to_python.hpp
index cc68646109..02649d406e 100644
--- a/boost/python/converter/shared_ptr_to_python.hpp
+++ b/boost/python/converter/shared_ptr_to_python.hpp
@@ -25,7 +25,7 @@ PyObject* shared_ptr_to_python(shared_ptr<T> const& x)
return converter::registered<shared_ptr<T> const&>::converters.to_python(&x);
}
-#if __cplusplus >= 201103L
+#if !defined(BOOST_NO_CXX11_SMART_PTR)
template <class T>
PyObject* shared_ptr_to_python(std::shared_ptr<T> const& x)
{