[Positioner] Un-inline Timestamp::set()

This commit is contained in:
Matteo Cypriani 2013-06-17 13:23:00 -04:00
parent 794d8b35d0
commit dfc52a1de3
2 changed files with 14 additions and 14 deletions

View File

@ -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)

View File

@ -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) ;