Dictionary cast constiness fix

This commit is contained in:
Mateusz Karbowiak
2024-10-31 01:08:44 +01:00
parent 2ae3932fcc
commit 7cca26bb97

View File

@@ -500,7 +500,7 @@ public:
FindPosition(key, pos);
if (pos.ObjectIndex == -1)
return nullptr;
return static_cast<const ValueType*>(&_allocation.Get()[pos.ObjectIndex].Value);
return static_cast<ValueType*>(&_allocation.Get()[pos.ObjectIndex].Value);
}
public: