X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.h;fp=source%2Ftime%2Ftimedelta.h;h=26da8f405832808e8956b659182362c7c9758ec9;hb=cfc8e0b7b15ea505bd6a6a9599cbc5ce1e316963;hp=ad985c7e2c1d13a7a738237c9d9f3af33c4b7212;hpb=7db1e6d50594b47a32ecca5a349a4e8540f890c0;p=libs%2Fcore.git diff --git a/source/time/timedelta.h b/source/time/timedelta.h index ad985c7..26da8f4 100644 --- a/source/time/timedelta.h +++ b/source/time/timedelta.h @@ -1,8 +1,10 @@ -/* +/* $Id$ + This file is part of libmspcore Copyright © 2006 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ + #ifndef MSP_TIME_TIMEDELTA_H_ #define MSP_TIME_TIMEDELTA_H_ @@ -18,6 +20,9 @@ Represents a quantity of time, such as five seconds. */ class TimeDelta { +private: + RawTime usec; + public: /** Constructs a zero TimeDelta. @@ -70,8 +75,6 @@ public: bool operator!=(const TimeDelta &t) const { return usec!=t.usec; } operator const void *() const { return usec ? this : 0; } -private: - RawTime usec; }; template