Browse Source

Fixed using nonexistent member variable in template code.

Lasse Öörni 13 years ago
parent
commit
b86f052689
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/Container/HashSet.h

+ 1 - 1
Engine/Container/HashSet.h

@@ -285,7 +285,7 @@ public:
     {
         if (numBuckets == NumBuckets())
             return true;
-        if (!numBuckets || numBuckets < size_ / MAX_LOAD_FACTOR)
+        if (!numBuckets || numBuckets < Size() / MAX_LOAD_FACTOR)
             return false;
         
         // Check for being power of two