mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Style: Set clang-format Standard to c++14
This commit is contained in:
parent
7e61be3cb0
commit
6e600cb3f0
248 changed files with 841 additions and 842 deletions
|
|
@ -756,7 +756,7 @@ static Node *_find_node_for_script(Node *p_base, Node *p_current, const Ref<Scri
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static void _find_changed_scripts_for_external_editor(Node *p_base, Node *p_current, Set<Ref<Script> > &r_scripts) {
|
||||
static void _find_changed_scripts_for_external_editor(Node *p_base, Node *p_current, Set<Ref<Script>> &r_scripts) {
|
||||
|
||||
if (p_current->get_owner() != p_base && p_base != p_current)
|
||||
return;
|
||||
|
|
@ -777,14 +777,14 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
|
|||
|
||||
ERR_FAIL_COND(!get_tree());
|
||||
|
||||
Set<Ref<Script> > scripts;
|
||||
Set<Ref<Script>> scripts;
|
||||
|
||||
Node *base = get_tree()->get_edited_scene_root();
|
||||
if (base) {
|
||||
_find_changed_scripts_for_external_editor(base, base, scripts);
|
||||
}
|
||||
|
||||
for (Set<Ref<Script> >::Element *E = scripts.front(); E; E = E->next()) {
|
||||
for (Set<Ref<Script>>::Element *E = scripts.front(); E; E = E->next()) {
|
||||
|
||||
Ref<Script> script = E->get();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue