From 37938a176163ffa8684dc55733eddfb92f888c27 Mon Sep 17 00:00:00 2001 From: Bradley Clemetson Date: Sun, 12 Dec 2021 18:23:33 -0800 Subject: [PATCH] Fix namespace to be consistent with the previous ADD functions --- include/godot_cpp/core/object.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/godot_cpp/core/object.hpp b/include/godot_cpp/core/object.hpp index ea780f0a..55b93c95 100644 --- a/include/godot_cpp/core/object.hpp +++ b/include/godot_cpp/core/object.hpp @@ -43,8 +43,8 @@ #include #define ADD_SIGNAL(m_signal) ClassDB::add_signal(get_class_static(), m_signal) -#define ADD_GROUP(m_name, m_prefix) ::ClassDB::add_property_group(get_class_static(), m_name, m_prefix) -#define ADD_SUBGROUP(m_name, m_prefix) ::ClassDB::add_property_subgroup(get_class_static(), m_name, m_prefix) +#define ADD_GROUP(m_name, m_prefix) ClassDB::add_property_group(get_class_static(), m_name, m_prefix) +#define ADD_SUBGROUP(m_name, m_prefix) ClassDB::add_property_subgroup(get_class_static(), m_name, m_prefix) #define ADD_PROPERTY(m_property, m_setter, m_getter) ClassDB::add_property(get_class_static(), m_property, m_setter, m_getter) namespace godot {