bug fix
[c11tester.git] / hashtable.h
index c9da5aad4341883bba7225f3bc97f1f2bd04fc9f..4758999a6a4f23148446a5f0cf6376480fa4910c 100644 (file)
@@ -284,6 +284,9 @@ public:
                return size;
        }
 
+       bool isEmpty() {
+               return size == 0;
+       }
 
        /**
         * @brief Check whether the table contains a value for the given key