diff options
Diffstat (limited to 'TAO/tao/ObjectKey_Table.cpp')
-rw-r--r-- | TAO/tao/ObjectKey_Table.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/tao/ObjectKey_Table.cpp b/TAO/tao/ObjectKey_Table.cpp index 38a851353de..cd7e16d10f1 100644 --- a/TAO/tao/ObjectKey_Table.cpp +++ b/TAO/tao/ObjectKey_Table.cpp @@ -144,10 +144,7 @@ TAO::ObjectKey_Table::bind_i (const TAO::ObjectKey &key, TAO::Refcounted_ObjectKey (key), -1); - - - int retval = this->table_.bind (key, - key_new); + int const retval = this->table_.bind (key, key_new); if (retval != -1) { @@ -166,8 +163,7 @@ TAO::ObjectKey_Table::unbind_i (TAO::Refcounted_ObjectKey *&key_new) { TAO::Refcounted_ObjectKey *tmp = 0; - if (this->table_.unbind (key_new->object_key (), - tmp) != -1) + if (this->table_.unbind (key_new->object_key (), tmp) != -1) { // @@ Cant do much if the unbind fails. // Remove our refcount on the ObjectKey |