diff options
Diffstat (limited to 'cppe/test/IceE/operations/TestI.cpp')
-rw-r--r-- | cppe/test/IceE/operations/TestI.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cppe/test/IceE/operations/TestI.cpp b/cppe/test/IceE/operations/TestI.cpp index 9b4f661ddfb..dbd5615edf0 100644 --- a/cppe/test/IceE/operations/TestI.cpp +++ b/cppe/test/IceE/operations/TestI.cpp @@ -11,7 +11,7 @@ #include <TestI.h> #include <TestCommon.h> #include <functional> - +
MyDerivedClassI::MyDerivedClassI(const Ice::ObjectAdapterPtr& adapter, const Ice::Identity& identity) : _adapter(adapter), _identity(identity) @@ -370,8 +370,9 @@ TestCheckedCastI::getContext(const Ice::Current& c) return _ctx; } -void -TestCheckedCastI::setContext(const Ice::Context& ctx) +bool +TestCheckedCastI::ice_isA(const std::string& s, const Ice::Current& current) const { - _ctx = ctx; + _ctx = current.ctx; + return TestCheckedCast::ice_isA(s, current); } |