Change HashSet copy constructor from implicit to explicit.

This commit is contained in:
Lukas Tenbrink 2026-02-16 23:08:01 +01:00
parent 376903417d
commit c9249346c4
16 changed files with 31 additions and 28 deletions

View file

@ -286,7 +286,7 @@ void TranslationDomain::clear() {
}
const HashSet<Ref<Translation>> TranslationDomain::get_translations() const {
return translations;
return HashSet<Ref<Translation>>(translations);
}
HashSet<Ref<Translation>> TranslationDomain::find_translations(const String &p_locale, bool p_exact) const {