summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/BatchRequestQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/BatchRequestQueue.h')
-rw-r--r--cpp/src/Ice/BatchRequestQueue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/BatchRequestQueue.h b/cpp/src/Ice/BatchRequestQueue.h
index 359113a7973..64d6bc5f658 100644
--- a/cpp/src/Ice/BatchRequestQueue.h
+++ b/cpp/src/Ice/BatchRequestQueue.h
@@ -54,7 +54,11 @@ private:
bool _batchStreamCanFlush;
int _batchRequestNum;
size_t _batchMarker;
+#ifdef ICE_CPP11_MAPPING
+ std::exception_ptr _exception;
+#else
IceUtil::UniquePtr<Ice::LocalException> _exception;
+#endif
size_t _maxSize;
};