X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/316e0c7133916391e0d04d7e9e4e29ae364214ed..00226fbb42b251a1f875aba6aa891ef93f8bd7b8:/src/mc/mc_record.hpp?ds=sidebyside diff --git a/src/mc/mc_record.hpp b/src/mc/mc_record.hpp index b0739db41f..a2f7310628 100644 --- a/src/mc/mc_record.hpp +++ b/src/mc/mc_record.hpp @@ -28,7 +28,11 @@ class RecordTrace { std::deque 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);