X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimestamp.h;h=1317b26bc0ba067c7774ef9ecfd6fb7342e2bdff;hp=41fc1e58dbe448b7de8d3f98468dc403e41c6f92;hb=be8ea216d23bf36bdfb2d3e302638782575fc136;hpb=d16185720fa344263367dbd50c61bfc8183d99a4 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); } };