mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
LuaContext.cpp: fix GCC warning
This commit is contained in:
1 parent
9bebc12330
commit
eb92ef0782
1 file changed
+1
-1
+1
-1
@@ -134,7 +134,7 @@ void LuaContext::ExecuteConsoleCommand(std::string_view cmd) {
|
||||
sol::error err = result;
|
||||
lines_.push_back(LuaLogLine{ LogLineType::Error, std::string(err.what()) });
|
||||
}
|
||||
} catch (sol::error e) {
|
||||
} catch (const sol::error& e) {
|
||||
ERROR_LOG(Log::System, "Lua exception: %s", e.what());
|
||||
lines_.push_back(LuaLogLine{ LogLineType::Error, std::string(e.what()) });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user