mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Style: Set clang-format Standard to c++14
This commit is contained in:
@@ -2233,7 +2233,7 @@ void EditorPropertyResource::_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()) {
|
||||
|
||||
@@ -2256,7 +2256,7 @@ void EditorPropertyResource::_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);
|
||||
@@ -2318,7 +2318,7 @@ void EditorPropertyResource::_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);
|
||||
Vector<Ref<EditorResourceConversionPlugin>> conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(res);
|
||||
|
||||
ERR_FAIL_INDEX(to_type, conversions.size());
|
||||
|
||||
@@ -2549,7 +2549,7 @@ void EditorPropertyResource::_update_menu_items() {
|
||||
|
||||
if (!res.is_null()) {
|
||||
|
||||
Vector<Ref<EditorResourceConversionPlugin> > conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(res);
|
||||
Vector<Ref<EditorResourceConversionPlugin>> conversions = EditorNode::get_singleton()->find_resource_conversion_plugin(res);
|
||||
if (conversions.size()) {
|
||||
menu->add_separator();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user