X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.h;h=2d4649883088187fffca7994bcb6bcfc2f590397;hp=5c5b633abdc9a3d233977df0dcf27e64fe81f5ed;hb=80bbee2f401b4af71cb1b80508bdb0d2bb61fa40;hpb=fe77fc6b869a71bf94d501a0762579f4ddbc5094 diff --git a/source/time/timedelta.h b/source/time/timedelta.h index 5c5b633..2d46498 100644 --- a/source/time/timedelta.h +++ b/source/time/timedelta.h @@ -70,8 +70,6 @@ public: bool operator!=(const TimeDelta &t) const { return usec!=t.usec; } operator bool() const { return usec; } - - friend std::ostream &operator<<(std::ostream &, const TimeDelta &); private: int64_t usec; }; @@ -79,6 +77,8 @@ private: template inline TimeDelta operator*(T a, const TimeDelta &t) { return t*a; } +extern std::ostream &operator<<(std::ostream &, const TimeDelta &); + } // namespace Time } // namespace Msp