We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d5e8b9 commit 6ac5735Copy full SHA for 6ac5735
include/boost/python/detail/construct.hpp
@@ -9,7 +9,13 @@
9
namespace boost { namespace python { namespace detail {
10
11
template <class T, class Arg>
12
-void construct_pointee(void* storage, Arg& x, T const volatile*)
+void construct_pointee(void* storage, Arg& x
13
+# if !defined(BOOST_MSVC) || BOOST_MSVC > 1300
14
+ , T const volatile*
15
+# else
16
+ , T const*
17
+# endif
18
+ )
19
{
20
new (storage) T(x);
21
}
0 commit comments