From 098d0f4ce3cc197bb74f9ea314b4b12fdaf26f4d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 11 May 2021 15:54:21 +0300 Subject: [PATCH] Disable sp_unique_ptr_test2 on msvc-10.0 --- test/sp_unique_ptr_test2.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/sp_unique_ptr_test2.cpp b/test/sp_unique_ptr_test2.cpp index cc67fa0..b1d6baf 100644 --- a/test/sp_unique_ptr_test2.cpp +++ b/test/sp_unique_ptr_test2.cpp @@ -19,6 +19,11 @@ int main() {} BOOST_PRAGMA_MESSAGE("Skipping test because BOOST_NO_CXX11_RVALUE_REFERENCES is defined") int main() {} +#elif defined(BOOST_MSVC) && BOOST_MSVC < 1700 + +BOOST_PRAGMA_MESSAGE("Skipping test because msvc-10.0 unique_ptr doesn't support move-only deleters") +int main() {} + #else struct Y