diff options
Diffstat (limited to 'TAO/tao/ObjectKey_Table.cpp')
-rw-r--r-- | TAO/tao/ObjectKey_Table.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/TAO/tao/ObjectKey_Table.cpp b/TAO/tao/ObjectKey_Table.cpp index ab186bbfaef..e3e52089e4a 100644 --- a/TAO/tao/ObjectKey_Table.cpp +++ b/TAO/tao/ObjectKey_Table.cpp @@ -1,13 +1,16 @@ // $Id$ -#include "ObjectKey_Table.h" -#include "ORB_Core.h" -#include "Refcounted_ObjectKey.h" +#include "tao/ObjectKey_Table.h" +#include "tao/ORB_Core.h" +#include "tao/Refcounted_ObjectKey.h" ACE_RCSID(tao, ObjectKey_Table, "$Id$") + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + int TAO::Less_Than_ObjectKey::operator () (const TAO::ObjectKey &lhs, const TAO::ObjectKey &rhs) const @@ -28,9 +31,9 @@ TAO::Less_Than_ObjectKey::operator () (const TAO::ObjectKey &lhs, return 1; } else if (lhs[i] > rhs[i]) - { - return 0; - } + { + return 0; + } } return 0; @@ -89,7 +92,7 @@ TAO::ObjectKey_Table::bind (const TAO::ObjectKey &key, key_new); } - (void) key_new->incr_refcount (); + key_new->incr_refcount (); } return retval; @@ -180,3 +183,4 @@ TAO::ObjectKey_Table::unbind_i (TAO::Refcounted_ObjectKey *&key_new) return 0; } +TAO_END_VERSIONED_NAMESPACE_DECL |