Skip to content

Commit c5a8d7b

Browse files
committed
Fix code style format
1 parent 419baae commit c5a8d7b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lua_script_language.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ void LuaScriptLanguage::reload_all_scripts() {
383383
print_debug("LuaScriptLanguage::reload_all_scripts");
384384

385385
#ifdef DEBUG_ENABLED
386-
List<Ref<LuaScript>> scripts;
386+
List<Ref<LuaScript> > scripts;
387387

388388
{
389389
auto guard = LuaScriptLanguage::acquire();
@@ -399,7 +399,7 @@ void LuaScriptLanguage::reload_all_scripts() {
399399

400400
scripts.sort(); // update in inheritance dependency order, parent must be reload first
401401

402-
for (List<Ref<LuaScript>>::Element *E = scripts.front(); E; E = E->next()) {
402+
for (List<Ref<LuaScript> >::Element *E = scripts.front(); E; E = E->next()) {
403403
E->get()->load_source_code(E->get()->get_path());
404404
E->get()->reload(true);
405405
}
@@ -420,7 +420,7 @@ void LuaScriptLanguage::get_public_functions(List<MethodInfo> *p_functions) cons
420420
print_debug("LuaScriptLanguage::get_public_functions");
421421
} // TODO
422422

423-
void LuaScriptLanguage::get_public_constants(List<Pair<String, Variant>> *p_constants) const {
423+
void LuaScriptLanguage::get_public_constants(List<Pair<String, Variant> > *p_constants) const {
424424
print_debug("LuaScriptLanguage::get_public_constants");
425425
} // TODO
426426

lua_script_language.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class LuaScriptLanguage : public ScriptLanguage {
108108

109109
virtual void get_recognized_extensions(List<String> *p_extensions) const;
110110
virtual void get_public_functions(List<MethodInfo> *p_functions) const;
111-
virtual void get_public_constants(List<Pair<String, Variant>> *p_constants) const;
111+
virtual void get_public_constants(List<Pair<String, Variant> > *p_constants) const;
112112

113113
virtual void profiling_start();
114114
virtual void profiling_stop();

0 commit comments

Comments
 (0)