summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/GCObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/GCObject.cpp')
-rw-r--r--cpp/src/Ice/GCObject.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/GCObject.cpp b/cpp/src/Ice/GCObject.cpp
index 303116f8679..f5101ded9c9 100644
--- a/cpp/src/Ice/GCObject.cpp
+++ b/cpp/src/Ice/GCObject.cpp
@@ -9,6 +9,8 @@
#include <Ice/GCObject.h>
+#ifndef ICE_CPP11_MAPPING
+
#include <set>
#include <stack>
@@ -442,3 +444,4 @@ GCObject::collect(IceUtilInternal::MutexPtrLock<IceUtil::Mutex>& lock)
}
return true;
}
+#endif