diff --git a/cyber/time/time.h b/cyber/time/time.h index c3b34b56b10b855ad7be80ce1da2f2ee8e0195d4..7583844af11a96496eae73fce719b224a05625e7 100644 --- a/cyber/time/time.h +++ b/cyber/time/time.h @@ -32,14 +32,13 @@ class Time { public: static const Time MAX; static const Time MIN; - Time() {} + Time() = default; explicit Time(uint64_t nanoseconds); explicit Time(int nanoseconds); explicit Time(double seconds); Time(uint32_t seconds, uint32_t nanoseconds); Time(const Time& other); Time& operator=(const Time& other); - ~Time() {} /** * @brief get the current time.