summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/Ice/Shared.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Ice/Shared.cpp b/cpp/src/Ice/Shared.cpp
index 84ed34d0aa2..12f3bb88501 100644
--- a/cpp/src/Ice/Shared.cpp
+++ b/cpp/src/Ice/Shared.cpp
@@ -19,7 +19,8 @@ using namespace IceInternal;
//static JTCMutex debugCounterMutex;
IceInternal::SimpleShared::SimpleShared() :
- _ref(0)
+ _ref(0),
+ _noDelete(false)
{
// cout << "new SimpleShared: " << ++simpleDebugCounter << endl;
}
@@ -30,7 +31,8 @@ IceInternal::SimpleShared::~SimpleShared()
}
IceInternal::Shared::Shared() :
- _ref(0)
+ _ref(0),
+ _noDelete(false)
{
// JTCSyncT<JTCMutex> sync(debugCounterMutex);
// cout << "new Shared: " << ++debugCounter << endl;