summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Transceiver.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-08 21:10:14 +0100
committerJose <jose@zeroc.com>2016-01-08 21:10:14 +0100
commit93ab5a8f08970ad49c6f973b965b8fbefb63882f (patch)
tree18c00abdc514ca90a7ab6e1acc5b350847843681 /cpp/src/Ice/Transceiver.h
parentC++98 test minor build fix (diff)
downloadice-93ab5a8f08970ad49c6f973b965b8fbefb63882f.tar.bz2
ice-93ab5a8f08970ad49c6f973b965b8fbefb63882f.tar.xz
ice-93ab5a8f08970ad49c6f973b965b8fbefb63882f.zip
C++11 fix Exception::ice_clone to use exception_ptr
Diffstat (limited to 'cpp/src/Ice/Transceiver.h')
-rw-r--r--cpp/src/Ice/Transceiver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/Transceiver.h b/cpp/src/Ice/Transceiver.h
index d277e9bb746..b9ca6e14f40 100644
--- a/cpp/src/Ice/Transceiver.h
+++ b/cpp/src/Ice/Transceiver.h
@@ -28,7 +28,11 @@ public:
virtual NativeInfoPtr getNativeInfo() = 0;
virtual SocketOperation initialize(Buffer&, Buffer&) = 0;
+#ifdef ICE_CPP11_MAPPING
+ virtual SocketOperation closing(bool, std::exception_ptr) = 0;
+#else
virtual SocketOperation closing(bool, const Ice::LocalException&) = 0;
+#endif
virtual void close() = 0;
virtual EndpointIPtr bind();
virtual SocketOperation write(Buffer&) = 0;