mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix gcc-13 build on Linux
uint8_t requires stdint.h include. Also remove redundant consts as a drive-by.
This commit is contained in:
parent
74c532053f
commit
6dc5a5fa8c
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
struct lua_State;
|
struct lua_State;
|
||||||
struct Proto;
|
struct Proto;
|
||||||
|
|
||||||
|
@ -35,12 +37,12 @@ public:
|
||||||
return line;
|
return line;
|
||||||
}
|
}
|
||||||
|
|
||||||
const unsigned getNestingLimit() const
|
unsigned getNestingLimit() const
|
||||||
{
|
{
|
||||||
return nestingLimit;
|
return nestingLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
const unsigned getOpLimit() const
|
unsigned getOpLimit() const
|
||||||
{
|
{
|
||||||
return LOP__COUNT;
|
return LOP__COUNT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue