X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b3790827a15510aa6b18146bc01597a568b332b..66e4277badef8f22852720b79a78e1f091c3b679:/src/surf/trace_mgr.hpp diff --git a/src/surf/trace_mgr.hpp b/src/surf/trace_mgr.hpp index 1e749dedf4..fe48da21a7 100644 --- a/src/surf/trace_mgr.hpp +++ b/src/surf/trace_mgr.hpp @@ -65,8 +65,8 @@ public: double value_ = 0; explicit DatedValue() = default; explicit DatedValue(double d, double v) : date_(d), value_(v) {} - bool operator==(DatedValue e2); - bool operator!=(DatedValue e2) { return not(*this == e2); } + bool operator==(DatedValue const& e2) const; + bool operator!=(DatedValue const& e2) const { return not(*this == e2); } }; std::ostream& operator<<(std::ostream& out, const DatedValue& e);