diff --git a/src/core/util/WallclockTimer.hpp b/src/core/util/WallclockTimer.hpp index 96c9b52b..25eda7af 100644 --- a/src/core/util/WallclockTimer.hpp +++ b/src/core/util/WallclockTimer.hpp @@ -61,7 +61,7 @@ public: operator int() { return (int)getRuntimeAsDouble(); } }; -std::ostream& operator<< (std::ostream& os, const WallclockTimer& w) +inline std::ostream& operator<< (std::ostream& os, const WallclockTimer& w) { return os << w.getRuntimeAsString(); } } // end-of-namespace: fail