From bde026b06b5118303a8fae45527f25250e49ab28 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 16 Feb 2014 07:17:48 +0000 Subject: [PATCH] make IsConnectionLessMessageID static --- src/protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol.h b/src/protocol.h index 59d287d3..7d777368 100755 --- a/src/protocol.h +++ b/src/protocol.h @@ -138,8 +138,8 @@ public: const int iRecID, const CHostAddress& InetAddr ); - bool IsConnectionLessMessageID ( const int iID ) const - { return (iID >= 1000) & (iID < 2000); } + static bool IsConnectionLessMessageID ( const int iID ) + { return ( iID >= 1000 ) && ( iID < 2000 ); } // this function is public because we need it in the test bench void CreateAndImmSendAcknMess ( const int& iID,