summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 15:54:14 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 15:54:14 +0000
commita94bed50999008639f33296cf905c25dfe459a15 (patch)
treee8e58daf00b895717ecdb140af7f42bfc071af40
parent87ec5270cba84f04c4925b90c86e0f262f9bdc37 (diff)
downloadATCD-a94bed50999008639f33296cf905c25dfe459a15.tar.gz
.
-rw-r--r--TAO/tao/Object_Table.cpp5
-rw-r--r--TAO/tao/Object_Table.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/Object_Table.cpp b/TAO/tao/Object_Table.cpp
index ea2c09719ec..c6efd432cfe 100644
--- a/TAO/tao/Object_Table.cpp
+++ b/TAO/tao/Object_Table.cpp
@@ -97,8 +97,9 @@ ACE_Hash_Map_Manager<PortableServer::ObjectId, PortableServer::Servant, ACE_SYNC
TAO_Dynamic_Hash_ObjTable::TAO_Dynamic_Hash_ObjTable (CORBA::ULong size)
: hash_map_ (size == 0 ?
- ACE_static_cast (size_t, TAO_Object_Table_Impl::DEFAULT_TABLE_SIZE) :
- size),
+ ACE_static_cast (size_t,
+ TAO_Object_Table_Impl::DEFAULT_TABLE_SIZE) :
+ size),
counter_ (0)
{
}
diff --git a/TAO/tao/Object_Table.h b/TAO/tao/Object_Table.h
index 65a63f42103..623a0902b9e 100644
--- a/TAO/tao/Object_Table.h
+++ b/TAO/tao/Object_Table.h
@@ -299,6 +299,8 @@ public:
protected:
Hash_Map hash_map_;
// internal hash table.
+
+ CORBA::ULONG counter_;
};
class TAO_Export TAO_Dynamic_Hash_ObjTable_Iterator : public TAO_Object_Table_Iterator_Impl