edits
[iotcloud.git] / version2 / src / C / hashset.h
index a518de651ff9343c1b8bbc3e7c08fa05af1a638e..d37ac3bafd4e56784c5c4f395696e86d533df355 100644 (file)
@@ -106,7 +106,7 @@ public:
                return copy;
        }
 
-       void reset() {
+       void clear() {
                Linknode<_Key> *tmp = list;
                while (tmp != NULL) {
                        Linknode<_Key> *tmpnext = tmp->next;
@@ -114,7 +114,7 @@ public:
                        tmp = tmpnext;
                }
                list = tail = NULL;
-               table->reset();
+               table->clear();
        }
 
        void resetAndDelete() {
@@ -217,7 +217,7 @@ public:
        }
 
        unsigned int size() const {
-               return table->getSize();
+               return table->size();
        }
 
        bool isEmpty() const {