diff options
author | LC <mathew1800@gmail.com> | 2020-12-07 06:07:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 06:07:39 +0100 |
commit | 43f0b42088a29c952d366da3ad2408eb1bc79906 (patch) | |
tree | 3f7fe444f37df73e0aef960ab05fa805e6697f86 /src/core | |
parent | Merge pull request #5152 from comex/xx-override (diff) | |
parent | boxcat: Avoid unnecessary object copy (diff) | |
download | yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar.gz yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar.bz2 yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar.lz yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar.xz yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.tar.zst yuzu-43f0b42088a29c952d366da3ad2408eb1bc79906.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp index 3b6f7498e..e43f3f47f 100644 --- a/src/core/hle/service/bcat/backend/boxcat.cpp +++ b/src/core/hle/service/bcat/backend/boxcat.cpp @@ -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()) { |