diff options
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.h')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.h b/cpp/test/Ice/interceptor/MyObjectI.h index dadd3cddebf..d75af0fce3b 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.h +++ b/cpp/test/Ice/interceptor/MyObjectI.h @@ -18,15 +18,19 @@ public: MySystemException(const char*, int); -#ifndef ICE_CPP11_COMPILER - virtual ~MySystemException() throw(); -#endif - virtual std::string ice_id() const; + #ifndef ICE_CPP11_MAPPING virtual MySystemException* ice_clone() const; #endif virtual void ice_throw() const; + +#ifdef ICE_CPP11_MAPPING + +protected: + + virtual IceUtil::Exception* ice_cloneImpl() const; +#endif }; class MyObjectI : public Test::MyObject |