From ca9c8856577b723bcbf56a28cc0cdbdb7f1586bc Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 20 Mar 2022 12:21:04 +0100 Subject: [PATCH] Fixes Dictionary error. --- src/Collections/Dictionary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Collections/Dictionary.hpp b/src/Collections/Dictionary.hpp index 241c89a..c9b3c7b 100644 --- a/src/Collections/Dictionary.hpp +++ b/src/Collections/Dictionary.hpp @@ -29,7 +29,7 @@ namespace ArbUt { Dictionary(const Dictionary& other) noexcept : _map(other._map) {} /// @brief Assignment operator Dictionary& operator=(const Dictionary& other) noexcept { - if (this == &other || _map == other._map) { + if (this == &other) { return *this; } _map = other._map;