diff --git a/src/Timed.h b/src/Timed.h index 356879f..042c185 100644 --- a/src/Timed.h +++ b/src/Timed.h @@ -120,7 +120,7 @@ private: TimeRange timeRange; }; -template -std::ostream& operator<<(std::ostream& stream, const Timed& timedValue) { +template<> +inline std::ostream& operator<<(std::ostream& stream, const Timed& timedValue) { return stream << "Timed(" << timedValue.getTimeRange().getStart() << ", " << timedValue.getTimeRange().getEnd() << ")"; }