diff options
Diffstat (limited to 'cpp/test/Ice/interceptor/AMDInterceptorI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/AMDInterceptorI.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp index 7beaa633c4b..0a96abf38fc 100644 --- a/cpp/test/Ice/interceptor/AMDInterceptorI.cpp +++ b/cpp/test/Ice/interceptor/AMDInterceptorI.cpp @@ -28,11 +28,6 @@ AMDInterceptorI::dispatch(Ice::Request& request) { public: - CallbackI(AMDInterceptorI& interceptor) : - _interceptor(interceptor) - { - } - virtual bool response(bool ok) { test(ok); @@ -53,17 +48,13 @@ AMDInterceptorI::dispatch(Ice::Request& request) test(false); return false; } - - private: - - AMDInterceptorI& _interceptor; }; Ice::Current& current = const_cast<Ice::Current&>(request.getCurrent()); _lastOperation = current.operation; - Ice::DispatchInterceptorAsyncCallbackPtr cb = new CallbackI(*this); + Ice::DispatchInterceptorAsyncCallbackPtr cb = new CallbackI(); if(_lastOperation == "amdAddWithRetry") { |