From 4d364d3e77667b70bf3261da004f4990ef0c3ada Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 14 Jun 2024 16:01:26 +0200 Subject: lua_pushliteral -> luaG_pushstring --- src/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat.h') diff --git a/src/compat.h b/src/compat.h index 714556e..0a02174 100644 --- a/src/compat.h +++ b/src/compat.h @@ -349,7 +349,7 @@ template } template -[[nodiscard]] inline std::string_view luaG_pushstring(lua_State* const L_, std::string_view const& str_, EXTRA&&... extra_) +inline std::string_view luaG_pushstring(lua_State* const L_, std::string_view const& str_, EXTRA&&... extra_) { if constexpr (sizeof...(EXTRA) == 0) { if constexpr (LUA_VERSION_NUM == 501) { -- cgit v1.2.3-55-g6feb