core: hid: Mark constructors as explicit

This commit is contained in:
Morph 2021-11-29 16:17:55 -05:00
parent b9b28c0457
commit 04f48f0120
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);