aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h2
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
351template<typename ...EXTRA> 351template<typename ...EXTRA>
352[[nodiscard]] inline std::string_view luaG_pushstring(lua_State* const L_, std::string_view const& str_, EXTRA&&... extra_) 352inline 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) {