diff options
| author | 2021-11-29 16:17:55 -0500 | |
|---|---|---|
| committer | 2021-11-29 17:20:15 -0500 | |
| commit | 04f48f0120f7f7f3f573ef13aa0feba88aa3172c (patch) | |
| tree | 6b70d6683e60ac4ebd423cb90e903efc58ad0c41 /src/core | |
| parent | core: hid: Cleanup and amend documentation (diff) | |
| download | yuzu-04f48f0120f7f7f3f573ef13aa0feba88aa3172c.tar.gz yuzu-04f48f0120f7f7f3f573ef13aa0feba88aa3172c.tar.xz yuzu-04f48f0120f7f7f3f573ef13aa0feba88aa3172c.zip | |
core: hid: Mark constructors as explicit
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hid/emulated_console.h | 2 | ||||
| -rw-r--r-- | src/core/hid/emulated_devices.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.h index 67981b844..bb3d7ab90 100644 --- a/src/core/hid/emulated_console.h +++ b/src/core/hid/emulated_console.h | |||
| @@ -80,7 +80,7 @@ public: | |||
| 80 | /** | 80 | /** |
| 81 | * Contains all input data within the emulated switch console tablet such as touch and motion | 81 | * Contains all input data within the emulated switch console tablet such as touch and motion |
| 82 | */ | 82 | */ |
| 83 | EmulatedConsole(); | 83 | explicit EmulatedConsole(); |
| 84 | ~EmulatedConsole(); | 84 | ~EmulatedConsole(); |
| 85 | 85 | ||
| 86 | YUZU_NON_COPYABLE(EmulatedConsole); | 86 | YUZU_NON_COPYABLE(EmulatedConsole); |
diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.h index d4f457651..c72327681 100644 --- a/src/core/hid/emulated_devices.h +++ b/src/core/hid/emulated_devices.h | |||
| @@ -77,7 +77,7 @@ public: | |||
| 77 | * Contains all input data related to external devices that aren't necesarily a controller | 77 | * Contains all input data related to external devices that aren't necesarily a controller |
| 78 | * This includes devices such as the keyboard or mouse | 78 | * This includes devices such as the keyboard or mouse |
| 79 | */ | 79 | */ |
| 80 | EmulatedDevices(); | 80 | explicit EmulatedDevices(); |
| 81 | ~EmulatedDevices(); | 81 | ~EmulatedDevices(); |
| 82 | 82 | ||
| 83 | YUZU_NON_COPYABLE(EmulatedDevices); | 83 | YUZU_NON_COPYABLE(EmulatedDevices); |