bool operator==(const TimeDelta &t) const { return usec==t.usec; }
bool operator!=(const TimeDelta &t) const { return usec!=t.usec; }
- operator bool() const { return usec; }
+ operator const void *() const { return usec ? this : 0; }
private:
RawTime usec;
};