]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/interprocess/test/allocexcept_test.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / interprocess / test / allocexcept_test.cpp
index 696b279731f511562c8763cd2a44faf52b5f8391..79f8047c78be22c6a670d2db30a8a943674c3ea8 100644 (file)
@@ -8,7 +8,6 @@
 //
 //////////////////////////////////////////////////////////////////////////////
 
-#include <boost/interprocess/detail/config_begin.hpp>
 #include <boost/interprocess/allocators/allocator.hpp>
 #include <boost/interprocess/managed_shared_memory.hpp>
 #include <boost/interprocess/containers/vector.hpp>
@@ -23,6 +22,7 @@ struct InstanceCounter
 {
    InstanceCounter(){++counter;}
    InstanceCounter(const InstanceCounter&){++counter;}
+   InstanceCounter & operator=(const InstanceCounter&){  return *this;  }
   ~InstanceCounter(){--counter;}
    static std::size_t counter;
 };
@@ -92,4 +92,3 @@ int main ()
    return 0;
 }
 
-#include <boost/interprocess/detail/config_end.hpp>