reorder definition of inline function prior to usage to avoid problem with solaris compiler

This commit is contained in:
zimoch
2011-11-24 08:58:45 +00:00
parent ad9ca649de
commit 9ce14df87d

View File

@@ -64,6 +64,18 @@ private:
casStreamReadReg & operator = ( const casStreamReadReg & );
};
//
// casStreamOS::armRecv ()
//
inline void casStreamOS::armRecv()
{
if ( ! this->pRdReg ) {
if ( ! this->inBufFull() ) {
this->pRdReg = new casStreamReadReg ( *this );
}
}
}
//
// casStreamReadReg::casStreamReadReg()
//
@@ -297,18 +309,6 @@ void casStreamIOWakeup::start ( casStreamOS &os )
this->pOS->printStatus ( "casStreamIOWakeup tmr start" );
}
//
// casStreamOS::armRecv ()
//
inline void casStreamOS::armRecv()
{
if ( ! this->pRdReg ) {
if ( ! this->inBufFull() ) {
this->pRdReg = new casStreamReadReg ( *this );
}
}
}
//
// casStreamOS::disarmRecv ()
//