mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 01:10:39 +02:00
Warning fixes
This commit is contained in:
1 parent
447a78e453
commit
55aa1ff66e
3 files changed
+9
-4
No files matched your search
@@ -43,7 +43,7 @@ void WebSocketBroadcastConfigGet(DebuggerRequest & req) {
|
||||
|
||||
json.pushDict("disallowed");
|
||||
|
||||
for (const auto[name, status] : disallowed_config) {
|
||||
for (const auto &[name, status] : disallowed_config) {
|
||||
if (status)
|
||||
json.writeBool(name, true);
|
||||
}
|
||||
@@ -97,7 +97,7 @@ void WebSocketBroadcastConfigSet(DebuggerRequest & req) {
|
||||
|
||||
json.pushDict("disallowed");
|
||||
|
||||
for (const auto[name, status] : disallowed_config) {
|
||||
for (const auto &[name, status] : disallowed_config) {
|
||||
if (status)
|
||||
json.writeBool(name, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user