A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert a first unit test to Catch
[simgrid.git]
/
src
/
surf
/
trace_mgr.hpp
diff --git
a/src/surf/trace_mgr.hpp
b/src/surf/trace_mgr.hpp
index
1e749de
..
fe48da2
100644
(file)
--- 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) {}
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);
};
std::ostream& operator<<(std::ostream& out, const DatedValue& e);