diff --git a/owlps-positioner/timestamp.cc b/owlps-positioner/timestamp.cc index ee546eb..40c8a7c 100644 --- a/owlps-positioner/timestamp.cc +++ b/owlps-positioner/timestamp.cc @@ -215,6 +215,20 @@ bool Timestamp::after(const struct timespec &source) const /* *** Operators *** */ +Timestamp& Timestamp::operator=(const struct timespec &source) +{ + set(source) ; + return *this ; +} + + +Timestamp& Timestamp::operator=(const uint64_t source) +{ + set(source) ; + return *this ; +} + + Timestamp& Timestamp::operator=(const Timestamp &source) { if (this == &source) diff --git a/owlps-positioner/timestamp.hh b/owlps-positioner/timestamp.hh index 7b1b74c..dad2f8e 100644 --- a/owlps-positioner/timestamp.hh +++ b/owlps-positioner/timestamp.hh @@ -139,20 +139,6 @@ inline void Timestamp::clear(void) /* *** Operators *** */ -inline Timestamp& Timestamp::operator=(const struct timespec &source) -{ - set(source) ; - return *this ; -} - - -inline Timestamp& Timestamp::operator=(const uint64_t source) -{ - set(source) ; - return *this ; -} - - inline bool Timestamp::operator==(const struct timespec &source) const { return equals(source) ;