fixed missplaced inline function

This commit is contained in:
Jeff Hill
2001-02-15 20:43:15 +00:00
parent a97d5e18cd
commit 47d9285617
2 changed files with 14 additions and 14 deletions

View File

@@ -46,20 +46,6 @@ timer::~timer()
this->cancel ();
}
inline double timer::privateDelayToFirstExpire () const
{
if ( this->curState == statePending ) {
double delay = this->exp - epicsTime::getCurrent ();
if ( delay < 0.0 ) {
delay = 0.0;
}
return delay;
}
else {
return -DBL_MAX;
}
}
void timer::start ( double delaySeconds )
{
this->start ( epicsTime::getCurrent () + delaySeconds );