diff options
Diffstat (limited to '')
-rw-r--r-- | src/lane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lane.cpp b/src/lane.cpp index 9f68c91..6e6130c 100644 --- a/src/lane.cpp +++ b/src/lane.cpp | |||
@@ -1018,7 +1018,7 @@ namespace { | |||
1018 | } // namespace | 1018 | } // namespace |
1019 | 1019 | ||
1020 | // contains keys: { __close, __gc, __index, kCachedError, kCachedTostring, cancel, get_threadname, join } | 1020 | // contains keys: { __close, __gc, __index, kCachedError, kCachedTostring, cancel, get_threadname, join } |
1021 | void Lane::PushMetatable(lua_State* L_) | 1021 | void Lane::PushMetatable(lua_State* const L_) |
1022 | { | 1022 | { |
1023 | STACK_CHECK_START_REL(L_, 0); | 1023 | STACK_CHECK_START_REL(L_, 0); |
1024 | if (luaL_newmetatable(L_, kLaneMetatableName.data())) { // L_: mt | 1024 | if (luaL_newmetatable(L_, kLaneMetatableName.data())) { // L_: mt |
@@ -1039,7 +1039,7 @@ void Lane::PushMetatable(lua_State* L_) | |||
1039 | 1039 | ||
1040 | // ################################################################################################# | 1040 | // ################################################################################################# |
1041 | 1041 | ||
1042 | void Lane::pushStatusString(lua_State* L_) const | 1042 | void Lane::pushStatusString(lua_State* const L_) const |
1043 | { | 1043 | { |
1044 | std::string_view const _str{ threadStatusString() }; | 1044 | std::string_view const _str{ threadStatusString() }; |
1045 | LUA_ASSERT(L_, !_str.empty()); | 1045 | LUA_ASSERT(L_, !_str.empty()); |