From 752e06b4eb63abb8a30bb958802eaedda72d3806 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 22 Jul 2016 17:09:25 -0400 Subject: Added ICE_BUILDING_SRC to make builds Ice::Dispatcher and Ice::LocalObject are now hidden with C++11 Reworked C++11 exception ice_clone, added ExceptionHelper + other C++ cleanups --- cpp/src/IceXML/Parser.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cpp/src/IceXML/Parser.cpp') diff --git a/cpp/src/IceXML/Parser.cpp b/cpp/src/IceXML/Parser.cpp index c10b6061557..180545bea67 100644 --- a/cpp/src/IceXML/Parser.cpp +++ b/cpp/src/IceXML/Parser.cpp @@ -20,12 +20,12 @@ using namespace IceXML; // ParserException // IceXML::ParserException::ParserException(const string& reason) : - IceUtil::Exception(), _reason(reason) + _reason(reason) { } IceXML::ParserException::ParserException(const char* file, int line, const string& reason) : - IceUtil::Exception(file, line), _reason(reason) + IceUtil::ExceptionHelper(file, line), _reason(reason) { } @@ -63,12 +63,6 @@ IceXML::ParserException::ice_clone() const } #endif -void -IceXML::ParserException::ice_throw() const -{ - throw *this; -} - string IceXML::ParserException::reason() const { -- cgit v1.2.3