aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-29 16:17:55 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-29 17:20:15 -0500
commitbc2f114e75232a347ca4f5b0a07fc851dd856239 (patch)
tree6b70d6683e60ac4ebd423cb90e903efc58ad0c41 /src
parent24b6822c564950fb5422e8374fd28128ec561383 (diff)
core: hid: Mark constructors as explicit
Diffstat (limited to 'src')
-rw-r--r--src/core/hid/emulated_console.h2
-rw-r--r--src/core/hid/emulated_devices.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.h
index 67981b844b..bb3d7ab907 100644
--- a/src/core/hid/emulated_console.h
+++ b/src/core/hid/emulated_console.h
@@ -80,7 +80,7 @@ public:
/**
* Contains all input data within the emulated switch console tablet such as touch and motion
*/
- EmulatedConsole();
+ explicit EmulatedConsole();
~EmulatedConsole();
YUZU_NON_COPYABLE(EmulatedConsole);
diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.h
index d4f4576511..c723276812 100644
--- a/src/core/hid/emulated_devices.h
+++ b/src/core/hid/emulated_devices.h
@@ -77,7 +77,7 @@ public:
* Contains all input data related to external devices that aren't necesarily a controller
* This includes devices such as the keyboard or mouse
*/
- EmulatedDevices();
+ explicit EmulatedDevices();
~EmulatedDevices();
YUZU_NON_COPYABLE(EmulatedDevices);