summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/classes/editor_plugin_registration.hpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-04-02 14:30:01 -0500
committerGitHub <noreply@github.com>2024-04-02 14:30:01 -0500
commit44d78ec8816e57fdd0c06812d31c09a25b97d6e8 (patch)
tree502a26499fd129c80619ed290cd0125b327055f1 /include/godot_cpp/classes/editor_plugin_registration.hpp
parenta62f633cebee4b36356dc903d00670733cd28fb1 (diff)
parent87f5fb06912d19b3ff3ba80b747fcea3023a1ed5 (diff)
downloadredot-cpp-44d78ec8816e57fdd0c06812d31c09a25b97d6e8.tar.gz
Merge pull request #1409 from Repiteo/class-to-typename
Enforce template syntax `typename` over `class`
Diffstat (limited to 'include/godot_cpp/classes/editor_plugin_registration.hpp')
-rw-r--r--include/godot_cpp/classes/editor_plugin_registration.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/godot_cpp/classes/editor_plugin_registration.hpp b/include/godot_cpp/classes/editor_plugin_registration.hpp
index 1ccde31..7870bfc 100644
--- a/include/godot_cpp/classes/editor_plugin_registration.hpp
+++ b/include/godot_cpp/classes/editor_plugin_registration.hpp
@@ -47,11 +47,11 @@ public:
static void remove_plugin_class(const StringName &p_class_name);
static void deinitialize(GDExtensionInitializationLevel p_level);
- template <class T>
+ template <typename T>
static void add_by_type() {
add_plugin_class(T::get_class_static());
}
- template <class T>
+ template <typename T>
static void remove_by_type() {
remove_plugin_class(T::get_class_static());
}