summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjectKey_Table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ObjectKey_Table.cpp')
-rw-r--r--TAO/tao/ObjectKey_Table.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tao/ObjectKey_Table.cpp b/TAO/tao/ObjectKey_Table.cpp
index ab186bbfaef..d5e28d94c1b 100644
--- a/TAO/tao/ObjectKey_Table.cpp
+++ b/TAO/tao/ObjectKey_Table.cpp
@@ -8,6 +8,9 @@ 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;
@@ -180,3 +183,4 @@ TAO::ObjectKey_Table::unbind_i (TAO::Refcounted_ObjectKey *&key_new)
return 0;
}
+TAO_END_VERSIONED_NAMESPACE_DECL