Re-apply clang-format to all files

Some badly formatted code has managed to pass through our CI...
This commit is contained in:
Rémi Verschelde
2017-08-27 14:16:32 +02:00
parent 21e53c4267
commit c90bfcb1c6
3 changed files with 8 additions and 8 deletions

View File

@@ -600,9 +600,9 @@ void ClassDB::bind_integer_constant(const StringName &p_class, const StringName
#ifdef DEBUG_METHODS_ENABLED
String enum_name = p_enum;
if (enum_name!=String()) {
if (enum_name.find(".")!=-1) {
enum_name=enum_name.get_slicec('.',1);
if (enum_name != String()) {
if (enum_name.find(".") != -1) {
enum_name = enum_name.get_slicec('.', 1);
}
List<StringName> *constants_list = type->enum_map.getptr(enum_name);
@@ -614,7 +614,6 @@ void ClassDB::bind_integer_constant(const StringName &p_class, const StringName
new_list.push_back(p_name);
type->enum_map[enum_name] = new_list;
}
}
type->constant_order.push_back(p_name);