mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
LuaContext.cpp: fix GCC warning
This commit is contained in:
+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