X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimestamp.h;h=1317b26bc0ba067c7774ef9ecfd6fb7342e2bdff;hp=41fc1e58dbe448b7de8d3f98468dc403e41c6f92;hb=03bacb2343eb5d17819732582c0866f087e9ce27;hpb=4c8b6a16bfe62541bc68aa0d3827158c9b9617da diff --git a/source/time/timestamp.h b/source/time/timestamp.h index 41fc1e5..1317b26 100644 --- a/source/time/timestamp.h +++ b/source/time/timestamp.h @@ -48,11 +48,6 @@ public: operator const void *() const { return usec>0 ? this : 0; } -#ifndef WIN32 - operator timeval() const { return rawtime_to_timeval(usec); } - operator timespec() const { return rawtime_to_timespec(usec); } -#endif - static TimeStamp from_unixtime(time_t t) { return TimeStamp(t*1000000LL); } };