Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Copy constructor and assignment operators are implicitely deleted anyway (dixit clang 8).
[simgrid.git] / src / mc / sosp / RegionSnapshot.hpp
index 87b4220..f5bb148 100644 (file)
@@ -142,8 +142,8 @@ public:
   {
   }
   ~RegionSnapshot()                     = default;
-  RegionSnapshot(RegionSnapshot const&) = default;
-  RegionSnapshot& operator=(RegionSnapshot const&) = default;
+  RegionSnapshot(RegionSnapshot const&) = delete;
+  RegionSnapshot& operator=(RegionSnapshot const&) = delete;
   RegionSnapshot(RegionSnapshot&& that)
       : region_type_(that.region_type_)
       , storage_type_(that.storage_type_)