diff options
Diffstat (limited to 'src/lanes.cpp')
-rw-r--r-- | src/lanes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.cpp b/src/lanes.cpp index 0369171..20636b2 100644 --- a/src/lanes.cpp +++ b/src/lanes.cpp | |||
@@ -548,7 +548,7 @@ LUAG_FUNC(wakeup_conv) | |||
548 | // .isdst (daylight saving on/off) | 548 | // .isdst (daylight saving on/off) |
549 | 549 | ||
550 | STACK_CHECK_START_REL(L_, 0); | 550 | STACK_CHECK_START_REL(L_, 0); |
551 | auto _readInteger = [L = L_](char const* name_) { | 551 | auto _readInteger = [L = L_](std::string_view const& name_) { |
552 | std::ignore = luaG_getfield(L, 1, name_); | 552 | std::ignore = luaG_getfield(L, 1, name_); |
553 | lua_Integer const val{ lua_tointeger(L, -1) }; | 553 | lua_Integer const val{ lua_tointeger(L, -1) }; |
554 | lua_pop(L, 1); | 554 | lua_pop(L, 1); |