mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 11:15:20 +02:00
Warning fixes
This commit is contained in:
@@ -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