summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-13 12:13:35 +0100
committerJose <jose@zeroc.com>2016-01-13 12:13:35 +0100
commitcca9395db27438f278c7b4750b1ce1edc4989215 (patch)
treeaf5882df9b514fcc5901d96be028683ab6bb2257 /cpp/src/Ice/Object.cpp
parentC++98: Reduce code bloat from C++ proxy factory methods (diff)
downloadice-cca9395db27438f278c7b4750b1ce1edc4989215.tar.bz2
ice-cca9395db27438f278c7b4750b1ce1edc4989215.tar.xz
ice-cca9395db27438f278c7b4750b1ce1edc4989215.zip
Remove Object::ice_clone from C++11 mapping
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index f31669f9c85..f20b22deded 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -86,12 +86,14 @@ Ice::Object::ice_staticId()
return __Ice__Object_ids[0];
}
+#ifndef ICE_CPP11_MAPPING
Ice::ObjectPtr
Ice::Object::ice_clone() const
{
throw CloneNotImplementedException(__FILE__, __LINE__);
return 0; // avoid warning with some compilers
}
+#endif
DispatchStatus
Ice::Object::___ice_isA(Incoming& __inS, const Current& __current)