yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

boxcat: Avoid unnecessary object copy

This commit is contained in:
comex 2020-08-31 11:00:39 -04:00
parent 7e5f595b31
commit 5cb1a343d1
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ Boxcat::StatusResult Boxcat::GetStatus(std::optional<std::string>& global,
global = json["global"].get<std::string>();
if (json["games"].is_array()) {
for (const auto object : json["games"]) {
for (const auto& object : json["games"]) {
if (object.is_object() && object.find("name") != object.end()) {
EventStatus detail{};
if (object["header"].is_string()) {