From d3b96742e73b6a1bfa2a1356bb90ebb42a2fb379 Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Wed, 28 Jun 2023 14:42:06 +0300 Subject: [PATCH] Fix compile-time error in HashSet::ClearDelete --- Source/Engine/Core/Collections/HashSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Core/Collections/HashSet.h b/Source/Engine/Core/Collections/HashSet.h index 698788869..ad6f8ffc6 100644 --- a/Source/Engine/Core/Collections/HashSet.h +++ b/Source/Engine/Core/Collections/HashSet.h @@ -357,8 +357,8 @@ public: { for (Iterator i = Begin(); i.IsNotEnd(); ++i) { - if (i->Value) - ::Delete(i->Value); + if (i->Item) + ::Delete(i->Item); } Clear(); }