summaryrefslogtreecommitdiff
path: root/cpp/demo/Glacier2/chat/ChatSessionI.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-09-10 17:20:42 -0230
committerMatthew Newhook <matthew@zeroc.com>2009-09-10 17:20:42 -0230
commitdcf9c090daaa0aa4b298e4875218b2de8540ef22 (patch)
tree36524fa2d36c69c99b99b02d1684c13cb0f99302 /cpp/demo/Glacier2/chat/ChatSessionI.cpp
parentbug 4255 - updating version of ProGuard and other third-party libs (diff)
downloadice-dcf9c090daaa0aa4b298e4875218b2de8540ef22.tar.bz2
ice-dcf9c090daaa0aa4b298e4875218b2de8540ef22.tar.xz
ice-dcf9c090daaa0aa4b298e4875218b2de8540ef22.zip
Fixed compilation errors.
Diffstat (limited to 'cpp/demo/Glacier2/chat/ChatSessionI.cpp')
-rw-r--r--cpp/demo/Glacier2/chat/ChatSessionI.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/demo/Glacier2/chat/ChatSessionI.cpp b/cpp/demo/Glacier2/chat/ChatSessionI.cpp
index 8b30694c005..4318bac6955 100644
--- a/cpp/demo/Glacier2/chat/ChatSessionI.cpp
+++ b/cpp/demo/Glacier2/chat/ChatSessionI.cpp
@@ -35,11 +35,12 @@ private:
static ChatRoomPtr _instance;
};
+ChatRoomPtr ChatRoom::_instance;
+IceUtil::Mutex* ChatRoom::_instanceMutex = 0;
+
namespace
{
-ChatRoomPtr ChatRoom::_instance;
-IceUtil::Mutex* ChatRoom::_instanceMutex = 0;
class Init
{