From a156aaeb07fada043b308409dcffcae1726eec0b Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 29 May 2024 17:31:45 +0200 Subject: Fix clang-tidy issues (most notably Microsoft-specific explicit constructor calls) --- src/macros_and_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/macros_and_utils.h') diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index 1427ef1..7bb0d2a 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h @@ -178,7 +178,7 @@ inline void STACK_GROW(lua_State* L_, int n_) // ################################################################################################# -#define LUAG_FUNC(func_name) [[nodiscard]] int LG_##func_name(lua_State* L_) +#define LUAG_FUNC(func_name) [[nodiscard]] int LG_##func_name(lua_State* const L_) // ################################################################################################# -- cgit v1.2.3-55-g6feb