summaryrefslogtreecommitdiff
path: root/tao/PI/Interceptor_List_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tao/PI/Interceptor_List_T.cpp')
-rw-r--r--tao/PI/Interceptor_List_T.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tao/PI/Interceptor_List_T.cpp b/tao/PI/Interceptor_List_T.cpp
index dd2e4e3d758..2b1f29f400c 100644
--- a/tao/PI/Interceptor_List_T.cpp
+++ b/tao/PI/Interceptor_List_T.cpp
@@ -55,10 +55,8 @@ namespace TAO
{
/// If the Interceptor is not anonymous, make sure an
/// Interceptor with the same isn't already registered.
-// CORBA::String_var name =
-// interceptor->name ();
+ std::string name = interceptor->name ();
-// if (ACE_OS::strlen (name.in ()) != 0)
if (!interceptor->name ().empty ())
{
// @@ This simple search algorithm isn't the greatest