diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename T> | |||
349 | } | 349 | } |
350 | 350 | ||
351 | template<typename ...EXTRA> | 351 | template<typename ...EXTRA> |
352 | [[nodiscard]] inline std::string_view luaG_pushstring(lua_State* const L_, std::string_view const& str_, EXTRA&&... extra_) | 352 | inline std::string_view luaG_pushstring(lua_State* const L_, std::string_view const& str_, EXTRA&&... extra_) |
353 | { | 353 | { |
354 | if constexpr (sizeof...(EXTRA) == 0) { | 354 | if constexpr (sizeof...(EXTRA) == 0) { |
355 | if constexpr (LUA_VERSION_NUM == 501) { | 355 | if constexpr (LUA_VERSION_NUM == 501) { |