[Positioner] Un-inline Timestamp::set()
This commit is contained in:
parent
794d8b35d0
commit
dfc52a1de3
|
@ -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)
|
||||
|
|
|
@ -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) ;
|
||||
|
|
Loading…
Reference in New Issue