diff options
author | Marc Laukien <marc@zeroc.com> | 2002-12-06 16:36:08 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-12-06 16:36:08 +0000 |
commit | fda53102d9aa6ef19694e1b8c0b001cd3aae529e (patch) | |
tree | 149a69163e0d631e826ab5b3cb49e32fe9e39d24 /cpp/src/Ice/Direct.cpp | |
parent | Initial addition (diff) | |
download | ice-fda53102d9aa6ef19694e1b8c0b001cd3aae529e.tar.bz2 ice-fda53102d9aa6ef19694e1b8c0b001cd3aae529e.tar.xz ice-fda53102d9aa6ef19694e1b8c0b001cd3aae529e.zip |
amd merge
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r-- | cpp/src/Ice/Direct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp index ac0fc2c15fc..3a40175c783 100644 --- a/cpp/src/Ice/Direct.cpp +++ b/cpp/src/Ice/Direct.cpp @@ -26,10 +26,10 @@ using namespace IceInternal; IceInternal::Direct::Direct(const Current& current) : _current(current) { - dynamic_cast<ObjectAdapterI*>(_current.adapter.get())->incUsageCount(); - try { + dynamic_cast<ObjectAdapterI*>(_current.adapter.get())->incUsageCount(); + _servant = _current.adapter->identityToServant(_current.id); if(!_servant && !_current.id.category.empty()) |