summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Incoming.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Incoming.h')
-rw-r--r--cpp/include/Ice/Incoming.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/Ice/Incoming.h b/cpp/include/Ice/Incoming.h
index 43628e2e800..b0b26542c83 100644
--- a/cpp/include/Ice/Incoming.h
+++ b/cpp/include/Ice/Incoming.h
@@ -55,7 +55,11 @@ protected:
Ice::Current _current;
Ice::ObjectPtr _servant;
Ice::ServantLocatorPtr _locator;
+#ifdef ICE_CPP11_MAPPING
+ ::std::shared_ptr<void> _cookie;
+#else
Ice::LocalObjectPtr _cookie;
+#endif
DispatchObserver _observer;
bool _response;
Ice::Byte _compress;