Change HashSet copy constructor from implicit to explicit.
This commit is contained in:
parent
376903417d
commit
c9249346c4
16 changed files with 31 additions and 28 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue