Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Don't copy or move states (yet)
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 5 Apr 2016 12:12:38 +0000 (14:12 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 5 Apr 2016 14:32:44 +0000 (16:32 +0200)
src/mc/mc_state.h

index 90706da..a744151 100644 (file)
@@ -74,6 +74,11 @@ struct XBT_PRIVATE State {
   State();
   ~State();
 
+  State(State const&) = delete;
+  State operator=(State const&) = delete;
+  State(State const&&) = delete;
+  State operator=(State const&&) = delete;
+
   std::size_t interleaveSize() const;
 };