From e8f4ab27b52bfd3e1855d0ce642ce752b55cd55e Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 20 Mar 2022 11:55:56 +0100 Subject: [PATCH] Fixes destructor missing. --- src/Collections/Dictionary.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Collections/Dictionary.hpp b/src/Collections/Dictionary.hpp index d5af343..1418ddd 100644 --- a/src/Collections/Dictionary.hpp +++ b/src/Collections/Dictionary.hpp @@ -37,6 +37,8 @@ namespace ArbUt { return *this; } + ~Dictionary() noexcept { delete _map; } + /// @brief Removes all items from the dictionary. inline void Clear() noexcept { _map->clear(); }