Skip to content

Commit

Permalink
Forgot to save in previous commit, oops!
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper authored Apr 4, 2024
1 parent 08a55ae commit 6d3cdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int LuaVal::lua_set(lua_State* L) {
(**p).erase(kk);
}
else {
(**p).insert_or_assign(std::move(kk), std::move(vv));
auto const& [it, _] = (**p).insert_or_assign(std::move(kk), std::move(vv));
return it->second.asObject(L);
}
return 0;
Expand Down

0 comments on commit 6d3cdb7

Please sign in to comment.