From fab017c91abaae26c45b6a3c84f3a50f944924f4 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 21 Sep 2021 23:55:05 +1000 Subject: [PATCH] Fix some clang format things --- include/godot_cpp/godot.hpp | 2 +- test/src/example.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/godot_cpp/godot.hpp b/include/godot_cpp/godot.hpp index 7cab430..321527c 100644 --- a/include/godot_cpp/godot.hpp +++ b/include/godot_cpp/godot.hpp @@ -67,7 +67,7 @@ public: InitObject(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) : interface(p_interface), library(p_library), - initialization(r_initialization) {}; + initialization(r_initialization){}; void register_core_initializer(Callback p_core_init) const; void register_server_initializer(Callback p_server_init) const; diff --git a/test/src/example.cpp b/test/src/example.cpp index 313398d..43ad8b3 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -53,8 +53,8 @@ void Example::_bind_methods() { } // Properties. - ADD_GROUP("Test group","group_"); - ADD_SUBGROUP("Test subgroup","group_subgroup_"); + ADD_GROUP("Test group", "group_"); + ADD_SUBGROUP("Test subgroup", "group_subgroup_"); ClassDB::bind_method(D_METHOD("get_custom_position"), &Example::get_custom_position); ClassDB::bind_method(D_METHOD("set_custom_position", "position"), &Example::set_custom_position);