diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-27 15:24:06 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-27 15:24:06 +0200 |
commit | 09c4750ef8973c08d6ef2aba70f5385ffd75f4c4 (patch) | |
tree | c52c8d60a45ad6149f4bb64708f63b54f1772010 /src/lanes.cpp | |
parent | b482ed9c30cddac31dcff2d19e517bf20af30d10 (diff) | |
download | lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.tar.gz lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.tar.bz2 lanes-09c4750ef8973c08d6ef2aba70f5385ffd75f4c4.zip |
More string_view
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); |