Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert a first unit test to Catch
[simgrid.git] / src / surf / trace_mgr.cpp
index d84999c..037b89e 100644 (file)
@@ -29,7 +29,7 @@ namespace simgrid {
 namespace kernel {
 namespace profile {
 
-bool DatedValue::operator==(DatedValue e2)
+bool DatedValue::operator==(DatedValue const& e2) const
 {
   return (doubleEq(date_, e2.date_)) && (doubleEq(value_, e2.value_));
 }