Fix a bug in memcpy, implement memset, and remove model_thread
[c11tester.git] / hashtable.h
index b7cac67410c287004e9861d14db91c4afc0367dd..22563a01839c4a352adf1dd5679cc7e96422eefc 100644 (file)
@@ -113,7 +113,7 @@ public:
 
        /** @brief Reset the table to its initial state. */
        void reset() {
-               memset(table, 0, capacity * sizeof(struct hashlistnode<_Key, _Val>));
+               real_memset(table, 0, capacity * sizeof(struct hashlistnode<_Key, _Val>));
                if (zero) {
                        _free(zero);
                        zero = NULL;