From 42c905a3ca29a1e911e7def9c2d9d9b8e95383cd Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 26 Oct 2018 17:17:11 -0400 Subject: Extra C++ warning flags with clang and g++. Fixes 223. --- python/modules/IcePy/Communicator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/modules/IcePy/Communicator.cpp') diff --git a/python/modules/IcePy/Communicator.cpp b/python/modules/IcePy/Communicator.cpp index df6af7330a1..71b1a96d44f 100644 --- a/python/modules/IcePy/Communicator.cpp +++ b/python/modules/IcePy/Communicator.cpp @@ -936,9 +936,9 @@ communicatorBeginFlushBatchRequests(CommunicatorObject* self, PyObject* args, Py result = (*self->communicator)->begin_flushBatchRequests(cb); } } - catch(const Ice::Exception& ex) + catch(const Ice::Exception& e) { - setPythonException(ex); + setPythonException(e); return 0; } -- cgit v1.2.3