From af8b68ca462be63c7dc32bb61b924d72e70ac1ae Mon Sep 17 00:00:00 2001 From: cat Date: Fri, 27 Feb 2026 09:16:29 +0200 Subject: [PATCH] Added checks for tombstones --- headers/Containers/DualkeyMap.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/headers/Containers/DualkeyMap.hpp b/headers/Containers/DualkeyMap.hpp index b055a0a..9bfc0d3 100644 --- a/headers/Containers/DualkeyMap.hpp +++ b/headers/Containers/DualkeyMap.hpp @@ -302,6 +302,11 @@ private: queryResults.reserve(512); for (DualkeyHash *hash : hashList) { + // Tombstone + if (hash == nullptr) { + continue; + } + // The hell of doing 2 conditions with similar logics in // the same logical block if constexpr (searchingInFirstKey) {