fixed gnu warning

This commit is contained in:
Jeff Hill
2000-02-09 00:33:30 +00:00
parent 8026cdc26a
commit 384892fda6
+7 -8
View File
@@ -280,8 +280,13 @@ inline osiTime osiTime::getEvent (const osiTimeEvent &event)
return osiTime (current);
}
// depricated
inline void osiTime::synchronize () {}
inline osiTime::osiTime (const TS_STAMP &ts)
{
this->secPastEpoch = ts.secPastEpoch;
this->nSec = ts.nsec;
}
inline void osiTime::synchronize () {} // depricated
inline osiTime::osiTime () : secPastEpoch(0u), nSec(0u) {}
@@ -346,12 +351,6 @@ inline osiTime osiTime::operator = (const aitTimeStamp &rhs)
return *this;
}
inline osiTime::osiTime (const TS_STAMP &ts)
{
this->secPastEpoch = ts.secPastEpoch;
this->nSec = ts.nsec;
}
inline osiTime osiTime::operator = (const TS_STAMP &rhs)
{
*this = osiTime (rhs);