make IsConnectionLessMessageID static

This commit is contained in:
Volker Fischer 2014-02-16 07:17:48 +00:00
parent 85fef28e24
commit bde026b06b

View file

@ -138,8 +138,8 @@ public:
const int iRecID, const int iRecID,
const CHostAddress& InetAddr ); const CHostAddress& InetAddr );
bool IsConnectionLessMessageID ( const int iID ) const static bool IsConnectionLessMessageID ( const int iID )
{ return (iID >= 1000) & (iID < 2000); } { return ( iID >= 1000 ) && ( iID < 2000 ); }
// this function is public because we need it in the test bench // this function is public because we need it in the test bench
void CreateAndImmSendAcknMess ( const int& iID, void CreateAndImmSendAcknMess ( const int& iID,