diff options
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index c59fb3c150d..4e9c7c1f524 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -20,19 +20,19 @@ MySystemException::MySystemException(const char* file, int line) : { } -#ifndef ICE_CPP11_COMPILER -MySystemException::~MySystemException() throw() -{ -} -#endif - string MySystemException::ice_id() const { return "::MySystemException"; } -#ifndef ICE_CPP11_MAPPING +#ifdef ICE_CPP11_MAPPING +IceUtil::Exception* +MySystemException::ice_cloneImpl() const +{ + return new MySystemException(*this); +} +#else MySystemException* MySystemException::ice_clone() const { |