diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-29 13:18:09 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-29 13:18:09 +0100 |
commit | fa48a51183567934984b381ad8ec281cb24d66ba (patch) | |
tree | f4737d9d29666e6e531a0fd163c49420383484f5 /core/variant/dictionary.cpp | |
parent | e59e58a68afd60d0fa63e61751bd6d30575f3bb3 (diff) | |
parent | 15369fdb1d692e1515dd888dfbae275074be63be (diff) | |
download | redot-engine-fa48a51183567934984b381ad8ec281cb24d66ba.tar.gz |
Merge pull request #87688 from AThousandShips/what_is_this
Remove unnecessary `this->` expressions
Diffstat (limited to 'core/variant/dictionary.cpp')
-rw-r--r-- | core/variant/dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/dictionary.cpp b/core/variant/dictionary.cpp index 8b61a8993a..9f65a73c6f 100644 --- a/core/variant/dictionary.cpp +++ b/core/variant/dictionary.cpp @@ -251,7 +251,7 @@ void Dictionary::clear() { void Dictionary::merge(const Dictionary &p_dictionary, bool p_overwrite) { for (const KeyValue<Variant, Variant> &E : p_dictionary._p->variant_map) { if (p_overwrite || !has(E.key)) { - this->operator[](E.key) = E.value; + operator[](E.key) = E.value; } } } |