changeset 51 | 8134400f8f89 |
parent 0 | 307788aac0a8 |
--- a/realtimenetprots/sipfw/SIP/ConnectionMgr/src/CStateModel.h Fri Sep 17 08:32:30 2010 +0300 +++ b/realtimenetprots/sipfw/SIP/ConnectionMgr/src/CStateModel.h Mon Oct 04 00:41:02 2010 +0300 @@ -89,7 +89,10 @@ private: // New methods /// @return Reference to the active state instance. - inline TStateBase& State() const; + inline TStateBase& State() const + { + return const_cast< TStateBase& >( iStates.At( iStateValue ) ); + } private: // Constructors