X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fptr_container%2Ftest%2Fptr_unordered_set.cpp;h=9c21005b7e4a1bf41d808a0454d55bb2ae989a4c;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=a349eb95e4906f58c09e77fdcf55758ef3b913e1;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/ptr_container/test/ptr_unordered_set.cpp b/ceph/src/boost/libs/ptr_container/test/ptr_unordered_set.cpp index a349eb95e..9c21005b7 100644 --- a/ceph/src/boost/libs/ptr_container/test/ptr_unordered_set.cpp +++ b/ceph/src/boost/libs/ptr_container/test/ptr_unordered_set.cpp @@ -124,7 +124,7 @@ void test_set() #ifndef BOOST_NO_AUTO_PTR BOOST_CHECK_THROW( (set.replace(set.begin(), std::auto_ptr(0) )), bad_ptr_container_operation ); #endif -#ifndef BOOST_NO_CXX11_SMART_PTR +#if !defined(BOOST_NO_CXX11_SMART_PTR) && !defined(BOOST_NO_CXX11_NULLPTR) BOOST_CHECK_THROW( (set.replace(set.begin(), std::unique_ptr(nullptr) )), bad_ptr_container_operation ); #endif