Fixed string conversion for Timed<void>

This commit is contained in:
Daniel Wolf 2016-06-14 17:36:54 +02:00
parent 5cc13cb16f
commit 1e29151974
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ private:
TimeRange timeRange;
};
template<typename T>
std::ostream& operator<<(std::ostream& stream, const Timed<void>& timedValue) {
template<>
inline std::ostream& operator<<(std::ostream& stream, const Timed<void>& timedValue) {
return stream << "Timed<void>(" << timedValue.getTimeRange().getStart() << ", " << timedValue.getTimeRange().getEnd() << ")";
}