diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceUtil/GCShared.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/IceUtil/GCShared.cpp b/cpp/src/IceUtil/GCShared.cpp index ead0176f302..84546ef1aee 100644 --- a/cpp/src/IceUtil/GCShared.cpp +++ b/cpp/src/IceUtil/GCShared.cpp @@ -32,11 +32,6 @@ IceUtil::GCShared::__decRef() gcRecMutex._m->lock(); bool doDelete = false; -// -// TODO: The code below doesn't make any sense. Why use the -// optimizations for decrementing _ref, if we lock a regular mutex -// above anyway? -// #if defined(_WIN32) if(InterlockedDecrement(&_ref) == 0) #elif defined(ICE_HAS_ATOMIC_FUNCTIONS) |