Skip to content

Commit

Permalink
Update amalgamation file
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki authored and actions-user committed Oct 21, 2023
1 parent 6359f0a commit 358a620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Distribution/LuaBridge/LuaBridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -6374,11 +6374,11 @@ inline int newindex_metamethod(lua_State* L)

inline int read_only_error(lua_State* L)
{
std::string s;
std::stringstream ss;

s = s + "'" + lua_tostring(L, lua_upvalueindex(1)) + "' is read-only";
ss << "'" << lua_tostring(L, lua_upvalueindex(1)) << "' is read-only";

raise_lua_error(L, "%s", s.c_str());
raise_lua_error(L, "%s", ss.str().c_str());

return 0;
}
Expand Down

0 comments on commit 358a620

Please sign in to comment.