From 6ac5735d145a50bb613148118ca3d2e4cde3ec4c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 17 Jul 2002 18:31:02 +0000 Subject: [PATCH] MSVC fixes [SVN r14500] --- include/boost/python/detail/construct.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/python/detail/construct.hpp b/include/boost/python/detail/construct.hpp index 55c0873f..f7b747f6 100644 --- a/include/boost/python/detail/construct.hpp +++ b/include/boost/python/detail/construct.hpp @@ -9,7 +9,13 @@ namespace boost { namespace python { namespace detail { template -void construct_pointee(void* storage, Arg& x, T const volatile*) +void construct_pointee(void* storage, Arg& x +# if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 + , T const volatile* +# else + , T const* +# endif + ) { new (storage) T(x); }