From ca7b8c816f6c9071daf83e1387c985a0e6a9b428 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 3 Jan 2021 00:32:51 -0600 Subject: [PATCH] fix(hash): correct clearing slot list --- storm/hash/TSHashTable.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storm/hash/TSHashTable.hpp b/storm/hash/TSHashTable.hpp index b4b2b52..a2feae6 100644 --- a/storm/hash/TSHashTable.hpp +++ b/storm/hash/TSHashTable.hpp @@ -101,7 +101,7 @@ void TSHashTable::InternalClear(int32_t warn) { for (int32_t i = 0; i < this->m_slotlistarray.Count(); i++) { auto& slotList = this->m_slotlistarray[i]; - for (auto node = slotList.Head(); node; node = slotList.Link(node)->Next()) { + for (auto node = slotList.Head(); node; node = slotList.Head()) { if (warn) { slotList.UnlinkNode(node); } else {