From 6fece3700ac31712b6d8892108a17e01cb2614be Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 11 Jan 2016 17:21:46 +0100 Subject: Add ICE_RESET_EXCEPTION macro to simplify C++ builds --- cpp/src/Glacier2Lib/SessionHelper.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpp/src/Glacier2Lib/SessionHelper.cpp') diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp index bc0f625d503..2aebb4cfc30 100644 --- a/cpp/src/Glacier2Lib/SessionHelper.cpp +++ b/cpp/src/Glacier2Lib/SessionHelper.cpp @@ -507,11 +507,7 @@ public: _callback(callback), _session(session) { -#ifdef ICE_CPP11_MAPPING - _ex = ex.ice_clone(); -#else - _ex.reset(ex.ice_clone()); -#endif + ICE_RESET_EXCEPTION(_ex, ex.ice_clone()); } virtual void -- cgit v1.2.3