summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-04-30 09:30:01 -0500
committerGitHub <noreply@github.com>2024-04-30 09:30:01 -0500
commit54fe2f9891525891a52c47ffbd190d15c38cccab (patch)
tree05b20c13b10c8516e3ac84b44bf61a4d58c8d5e1 /include/godot_cpp
parent2cd3d3910881ed38c6f7a88fe74da98ebc440a09 (diff)
parente1b3b32db5a20c8704650f1cd60e134540ada387 (diff)
downloadredot-cpp-54fe2f9891525891a52c47ffbd190d15c38cccab.tar.gz
Merge pull request #1445 from dsnopek/classdb-enum-issue
Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations
Diffstat (limited to 'include/godot_cpp')
-rw-r--r--include/godot_cpp/core/class_db.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp
index 98e9f72..31ebddc 100644
--- a/include/godot_cpp/core/class_db.hpp
+++ b/include/godot_cpp/core/class_db.hpp
@@ -339,4 +339,6 @@ MethodBind *ClassDB::bind_vararg_method(uint32_t p_flags, StringName p_name, M p
} // namespace godot
+CLASSDB_SINGLETON_VARIANT_CAST;
+
#endif // GODOT_CLASS_DB_HPP