From 79c37a3cccfcc24759fe5893705b1030cec5f3df Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 15 Aug 2024 20:51:40 +0200 Subject: [PATCH] fix: removed gd:: prefix from GDREGISTER_CLASS macro uses --- register_types.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/register_types.cpp b/register_types.cpp index d3ccf32..d867791 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -7,15 +7,13 @@ #include "spawn_point.hpp" #include -namespace gd = godot; - namespace utils { void godot_cpp_utils_register_types() { - gd::GDREGISTER_CLASS(utils::GameMode); - gd::GDREGISTER_CLASS(utils::GameRoot3D); - gd::GDREGISTER_CLASS(utils::GameState); - gd::GDREGISTER_CLASS(utils::Level3D); - gd::GDREGISTER_CLASS(utils::PlayerInput); - gd::GDREGISTER_CLASS(utils::SpawnPoint3D); + GDREGISTER_CLASS(utils::GameMode); + GDREGISTER_CLASS(utils::GameRoot3D); + GDREGISTER_CLASS(utils::GameState); + GDREGISTER_CLASS(utils::Level3D); + GDREGISTER_CLASS(utils::PlayerInput); + GDREGISTER_CLASS(utils::SpawnPoint3D); } }