Commit 5225b176 authored by Pavel Vainerman's avatar Pavel Vainerman

fixed minor bug: optimization cache resolve

parent bfcf17e4
......@@ -2280,10 +2280,7 @@ ObjectPtr UniversalInterface::CacheOfResolve::resolve( ObjectId id, ObjectId nod
// _duplicate....
if( !CORBA::is_nil(it->second.ptr) )
return it->second.ptr._retn();
// return it->second.ptr;
// return CORBA::Object::_duplicate(it->second.ptr);
// return it->second.ptr.out(); // CORBA::Object::_duplicate(it->second.ptr);
return CORBA::Object::_duplicate(it->second.ptr);
throw NameNotFound();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment