Skip to content

Commit

Permalink
refactor: Replace hard-coded LUA_TTHREAD+1 with LUA_NUMTAGS macro to …
Browse files Browse the repository at this point in the history
…improve readability
  • Loading branch information
zhangjiequan committed Feb 20, 2024
1 parent 187bda5 commit 93193a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,5 @@ class Debugger: public std::enable_shared_from_this<Debugger>

Arena<Variable> *arenaRef;

std::bitset<LUA_TTHREAD+1> registeredTypes;
std::bitset<LUA_NUMTAGS> registeredTypes;
};

0 comments on commit 93193a5

Please sign in to comment.