From 7cca26bb97274cff0c7f4d48b774aac768cd34be Mon Sep 17 00:00:00 2001 From: Mateusz Karbowiak <69864511+mtszkarbowiak@users.noreply.github.com> Date: Thu, 31 Oct 2024 01:08:44 +0100 Subject: [PATCH] Dictionary cast constiness fix --- Source/Engine/Core/Collections/Dictionary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Core/Collections/Dictionary.h b/Source/Engine/Core/Collections/Dictionary.h index 169b7bc3f..e9dc8f582 100644 --- a/Source/Engine/Core/Collections/Dictionary.h +++ b/Source/Engine/Core/Collections/Dictionary.h @@ -500,7 +500,7 @@ public: FindPosition(key, pos); if (pos.ObjectIndex == -1) return nullptr; - return static_cast(&_allocation.Get()[pos.ObjectIndex].Value); + return static_cast(&_allocation.Get()[pos.ObjectIndex].Value); } public: