Morph review first wave

This commit is contained in:
german77 authored and Narr the Reg committed 2021-11-24 20:30:25 -06:00
1 parent e2e5f1beaf
commit b564f024f0
23 files changed
+117 -136

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@
#include "core/hid/input_converter.h"
namespace Core::HID {
EmulatedConsole::EmulatedConsole() {}
EmulatedConsole::EmulatedConsole() = default;
EmulatedConsole::~EmulatedConsole() = default;
@@ -191,7 +191,7 @@ TouchFingerState EmulatedConsole::GetTouch() const {
}
void EmulatedConsole::TriggerOnChange(ConsoleTriggerType type) {
for (const std::pair<int, ConsoleUpdateCallback> poller_pair : callback_list) {
for (const auto& poller_pair : callback_list) {
const ConsoleUpdateCallback& poller = poller_pair.second;
if (poller.on_change) {
poller.on_change(type);