Inline static variables (part 1)

This commit is contained in:
kobewi 2025-04-28 20:27:50 +02:00
parent 67c96c89cc
commit 5af4bef46f
52 changed files with 85 additions and 247 deletions

View file

@ -41,7 +41,7 @@ class Input : public Object {
GDCLASS(Input, Object);
_THREAD_SAFE_CLASS_
static Input *singleton;
static inline Input *singleton = nullptr;
static constexpr uint64_t MAX_EVENT = 32;