Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Release v3.35
[simgrid.git] / src / mc / mc_record.hpp
index b0739db..32f78ef 100644 (file)
@@ -9,7 +9,7 @@
  *  The recorded path is written in the log output and can be replayed with MC disabled
  *  (even with a non-MC build) using `--cfg=model-check/replay:$replayPath`.
  *
- *  The same version of Simgrid should be used and the same arguments should be
+ *  The same version of SimGrid should be used and the same arguments should be
  *  passed to the application (without the MC specific arguments).
  */
 
@@ -28,7 +28,11 @@ class RecordTrace {
   std::deque<Transition*> transitions_;
 
 public:
-  RecordTrace() = default;
+  // Use rule-of-three, and implicitely disable the move constructor which cannot be 'noexcept' (as required by C++ Core
+  // Guidelines), due to the std::deque member.
+  RecordTrace()                   = default;
+  RecordTrace(const RecordTrace&) = default;
+  ~RecordTrace()                  = default;
 
   /** Build a trace that can be replayed from a string representation */
   explicit RecordTrace(const char* data);