You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Style: Set clang-format Standard to c++14
This commit is contained in:
@@ -200,7 +200,7 @@ void CustomPropertyEditor::_menu_option(int p_which) {
|
||||
|
||||
List<PropertyInfo> property_list;
|
||||
res_orig->get_property_list(&property_list);
|
||||
List<Pair<String, Variant> > propvalues;
|
||||
List<Pair<String, Variant>> propvalues;
|
||||
|
||||
for (List<PropertyInfo>::Element *E = property_list.front(); E; E = E->next()) {
|
||||
|
||||
@@ -223,7 +223,7 @@ void CustomPropertyEditor::_menu_option(int p_which) {
|
||||
|
||||
ERR_FAIL_COND(res.is_null());
|
||||
|
||||
for (List<Pair<String, Variant> >::Element *E = propvalues.front(); E; E = E->next()) {
|
||||
for (List<Pair<String, Variant>>::Element *E = propvalues.front(); E; E = E->next()) {
|
||||
|
||||
Pair<String, Variant> &p = E->get();
|
||||
res->set(p.first, p.second);
|
||||
@@ -271,7 +271,7 @@ void CustomPropertyEditor::_menu_option(int p_which) {
|
||||
|
||||
int to_type = p_which - CONVERT_BASE_ID;
|
||||
|
||||
Vector<Ref<EditorResourceConversionPlugin> > conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(RES(v));
|
||||
Vector<Ref<EditorResourceConversionPlugin>> conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(RES(v));
|
||||
|
||||
ERR_FAIL_INDEX(to_type, conversions.size());
|
||||
|
||||
@@ -1017,7 +1017,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
|
||||
|
||||
if (!RES(v).is_null()) {
|
||||
|
||||
Vector<Ref<EditorResourceConversionPlugin> > conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(RES(v));
|
||||
Vector<Ref<EditorResourceConversionPlugin>> conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(RES(v));
|
||||
if (conversions.size()) {
|
||||
menu->add_separator();
|
||||
}
|
||||
@@ -1414,7 +1414,7 @@ void CustomPropertyEditor::_action_pressed(int p_which) {
|
||||
|
||||
List<PropertyInfo> property_list;
|
||||
res_orig->get_property_list(&property_list);
|
||||
List<Pair<String, Variant> > propvalues;
|
||||
List<Pair<String, Variant>> propvalues;
|
||||
|
||||
for (List<PropertyInfo>::Element *E = property_list.front(); E; E = E->next()) {
|
||||
|
||||
@@ -1433,7 +1433,7 @@ void CustomPropertyEditor::_action_pressed(int p_which) {
|
||||
|
||||
ERR_FAIL_COND(res.is_null());
|
||||
|
||||
for (List<Pair<String, Variant> >::Element *E = propvalues.front(); E; E = E->next()) {
|
||||
for (List<Pair<String, Variant>>::Element *E = propvalues.front(); E; E = E->next()) {
|
||||
|
||||
Pair<String, Variant> &p = E->get();
|
||||
res->set(p.first, p.second);
|
||||
|
||||
Reference in New Issue
Block a user