From 60100fc40a64ba6c1c3bbd3f6ed525dc9ee6ec23 Mon Sep 17 00:00:00 2001
From: David Abram Cargill <cargilld@apache.org>
Date: Thu, 22 Apr 2004 10:47:44 +0000
Subject: [PATCH] Misc fix to update fCount in the correct place.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175886 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/util/RefHashTableOf.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/xercesc/util/RefHashTableOf.c b/src/xercesc/util/RefHashTableOf.c
index 2fd4f73b8..890747eda 100644
--- a/src/xercesc/util/RefHashTableOf.c
+++ b/src/xercesc/util/RefHashTableOf.c
@@ -56,6 +56,9 @@
 
 /**
  * $Log$
+ * Revision 1.15  2004/04/22 10:47:44  cargilld
+ * Misc fix to update fCount in the correct place.
+ *
  * Revision 1.14  2004/03/01 15:03:08  peiyongz
  * new getter: getHashModulus
  *
@@ -473,9 +476,8 @@ template <class TVal> void RefHashTableOf<TVal>::put(void* key, TVal* const valu
     {
         newBucket = new (fMemoryManager) RefHashTableBucketElem<TVal>(key, valueToAdopt, fBucketList[hashVal]);
         fBucketList[hashVal] = newBucket;
+        fCount++;
     }
-
-    fCount++;
 }
 
 
-- 
GitLab