summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Instance.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 66dc8abb135..6eacaa38416 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -195,11 +195,14 @@ class Timer : public IceUtil::Timer
{
public:
- Timer(int priority) : IceUtil::Timer(priority)
+ Timer(int priority) :
+ IceUtil::Timer(priority),
+ _hasObserver(false)
{
}
- Timer()
+ Timer() :
+ _hasObserver(false)
{
}