]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timedelta.h
Isolate platform-dependent RawTime conversion functions to a private header
[libs/core.git] / source / time / timedelta.h
index 972ee26387406d224b11bf3f77f76b4c88fdd296..4a5411838dff02ab761d7b9f696fa6515b38c6f0 100644 (file)
@@ -53,11 +53,6 @@ public:
        bool operator==(const TimeDelta &t) const { return usec==t.usec; }
        bool operator!=(const TimeDelta &t) const { return usec!=t.usec; }
 
-#ifndef WIN32
-       operator timeval() const { return rawtime_to_timeval(usec); }
-       operator timespec() const { return rawtime_to_timespec(usec); }
-#endif
-
        operator const void *() const { return usec ? this : 0; }
 };