Closed dsnopek closed 3 months ago
Fixes https://github.com/godotengine/godot-cpp/issues/1480
This changes const to constexpr in some definitions of the GetTypeInfo template (we were using constexpr already in a few).
const
constexpr
GetTypeInfo
We should probably make the same changes to Godot itself as well, since that's where this code was copied from in the first place.
It worked! Thanks for the fix!
Fixes https://github.com/godotengine/godot-cpp/issues/1480
This changes
const
toconstexpr
in some definitions of theGetTypeInfo
template (we were usingconstexpr
already in a few).We should probably make the same changes to Godot itself as well, since that's where this code was copied from in the first place.