From dfc52a1de31199d2debc8e19323162f2a5bb2b58 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Mon, 17 Jun 2013 13:23:00 -0400 Subject: [PATCH] [Positioner] Un-inline Timestamp::set() --- owlps-positioner/timestamp.cc | 14 ++++++++++++++ owlps-positioner/timestamp.hh | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) 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) ;