From 384892fda69c7160ca232a4f096febc117d396a7 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 9 Feb 2000 00:33:30 +0000 Subject: [PATCH] fixed gnu warning --- src/libCom/osi/osiTime.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/libCom/osi/osiTime.h b/src/libCom/osi/osiTime.h index fe6cec424..0c56d2c1e 100644 --- a/src/libCom/osi/osiTime.h +++ b/src/libCom/osi/osiTime.h @@ -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);