summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Object.cpp')
-rw-r--r--TAO/tao/Object.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index b497f744e98..6aac19e67e9 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -589,13 +589,6 @@ CORBA::Object::_set_policy_overrides (
CORBA::COMPLETED_MAYBE));
ACE_CHECK_RETURN (CORBA::Object::_nil ());
- // If the stub is collocated and we don't have a collocated server we need
- // to reinitialize it to get it.
- if (stub->is_collocated () && stub->collocated_servant () == 0)
- {
- obj->orb_core ()->reinitialize_object (stub);
- }
-
(void) safe_stub.release ();
return obj;