- added const modifier to getter methods
authorAlex Kalimulin <alex@netxms.org>
Sun, 10 May 2009 10:12:42 +0000 (10:12 +0000)
committerAlex Kalimulin <alex@netxms.org>
Sun, 10 May 2009 10:12:42 +0000 (10:12 +0000)
include/nxmbapi.h

index 0f40d44..2168f3d 100644 (file)
@@ -55,8 +55,8 @@ public:
        NXMBMessage(const TCHAR *type, const TCHAR *senderId);
        virtual ~NXMBMessage();
 
-       const TCHAR *getType() { return m_type; }
-       const TCHAR *getSenderId() { return m_senderId; }
+       const TCHAR *getType() const { return m_type; }
+       const TCHAR *getSenderId() const { return m_senderId; }
 };