Inline static variables (part 1)
This commit is contained in:
@ -43,9 +43,9 @@ class ScriptDebugger {
|
||||
|
||||
HashMap<int, HashSet<StringName>> breakpoints;
|
||||
|
||||
static thread_local int lines_left;
|
||||
static thread_local int depth;
|
||||
static thread_local ScriptLanguage *break_lang;
|
||||
static inline thread_local int lines_left = -1;
|
||||
static inline thread_local int depth = -1;
|
||||
static inline thread_local ScriptLanguage *break_lang = nullptr;
|
||||
static thread_local Vector<StackInfo> error_stack_info;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user