Style: Set clang-format Standard to c++14
This commit is contained in:
@ -1008,7 +1008,7 @@ String TranslationServer::get_locale_name(const String &p_locale) const {
|
||||
|
||||
Array TranslationServer::get_loaded_locales() const {
|
||||
Array locales;
|
||||
for (const Set<Ref<Translation> >::Element *E = translations.front(); E; E = E->next()) {
|
||||
for (const Set<Ref<Translation>>::Element *E = translations.front(); E; E = E->next()) {
|
||||
|
||||
const Ref<Translation> &t = E->get();
|
||||
ERR_FAIL_COND_V(t.is_null(), Array());
|
||||
@ -1085,7 +1085,7 @@ StringName TranslationServer::translate(const StringName &p_message) const {
|
||||
String lang = get_language_code(locale);
|
||||
bool near_match = false;
|
||||
|
||||
for (const Set<Ref<Translation> >::Element *E = translations.front(); E; E = E->next()) {
|
||||
for (const Set<Ref<Translation>>::Element *E = translations.front(); E; E = E->next()) {
|
||||
const Ref<Translation> &t = E->get();
|
||||
ERR_FAIL_COND_V(t.is_null(), p_message);
|
||||
String l = t->get_locale();
|
||||
@ -1118,7 +1118,7 @@ StringName TranslationServer::translate(const StringName &p_message) const {
|
||||
String fallback_lang = get_language_code(fallback);
|
||||
near_match = false;
|
||||
|
||||
for (const Set<Ref<Translation> >::Element *E = translations.front(); E; E = E->next()) {
|
||||
for (const Set<Ref<Translation>>::Element *E = translations.front(); E; E = E->next()) {
|
||||
const Ref<Translation> &t = E->get();
|
||||
ERR_FAIL_COND_V(t.is_null(), p_message);
|
||||
String l = t->get_locale();
|
||||
|
||||
Reference in New Issue
Block a user