summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjectKey_Table.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-11-02 07:13:04 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-11-02 07:13:04 +0000
commitef90f48326d00ec9fcb44bc43ac249e4617d7cb7 (patch)
tree52300a84c07910ff7f95f76d7b2820c1a4b59606 /TAO/tao/ObjectKey_Table.cpp
parent681f78f9142968f31054464967191979d51af69b (diff)
downloadATCD-ef90f48326d00ec9fcb44bc43ac249e4617d7cb7.tar.gz
ChangeLogTag:Tue Nov 1 14:49:40 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
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