diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Simple_Naming/client.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Simple_Naming/client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Simple_Naming/client.cpp b/TAO/orbsvcs/tests/Simple_Naming/client.cpp index 82302915623..9ec5bf2a9ad 100644 --- a/TAO/orbsvcs/tests/Simple_Naming/client.cpp +++ b/TAO/orbsvcs/tests/Simple_Naming/client.cpp @@ -346,8 +346,7 @@ MT_Test::svc (void) int MT_Test::execute (TAO_Naming_Client &root_context) { - // if we weren't given the orb pointer - cannot proceed. - if (orb_.ptr () == 0) + if (CORBA::is_nil (this->orb_.in ())) return -1; // Create data which will be used by all threads. |