diff --git a/test/sp_override_test.cpp b/test/sp_override_test.cpp index 8eb72dd..6284376 100644 --- a/test/sp_override_test.cpp +++ b/test/sp_override_test.cpp @@ -7,6 +7,8 @@ #endif #include +#include +#include int main() { @@ -14,5 +16,10 @@ int main() boost::shared_ptr p2( new int[1] ); boost::make_shared(); + +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1500) + boost::make_shared( 1 ); + +#endif } diff --git a/test/sp_pedantic_test.cpp b/test/sp_pedantic_test.cpp index 92df9c3..884ec6b 100644 --- a/test/sp_pedantic_test.cpp +++ b/test/sp_pedantic_test.cpp @@ -3,6 +3,8 @@ // https://www.boost.org/LICENSE_1_0.txt #include +#include +#include int main() { @@ -10,5 +12,10 @@ int main() boost::shared_ptr p2( new int[1] ); boost::make_shared(); + +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1500) + boost::make_shared( 1 ); + +#endif }