Skip to content

Commit 6ac5735

Browse files
committed
MSVC fixes
[SVN r14500]
1 parent 9d5e8b9 commit 6ac5735

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

include/boost/python/detail/construct.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
namespace boost { namespace python { namespace detail {
1010

1111
template <class T, class Arg>
12-
void construct_pointee(void* storage, Arg& x, T const volatile*)
12+
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+
)
1319
{
1420
new (storage) T(x);
1521
}

0 commit comments

Comments
 (0)