diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-10-17 20:34:25 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-10-17 20:52:43 -0400 |
| commit | 46202e984e176241fd5a2f766907035e87198c99 (patch) | |
| tree | c1249f47c18b0716f8b086708370b26e7c3c74b6 /src/core/hle/service/hid/controllers/npad.cpp | |
| parent | 119b47f366df61569113395f2ee2bc4df5b8a2ad (diff) | |
hid/controller: Default the destructors of all controller types in the cpp file
These classes are non-trivial and are definitely going to be changed in
the future, so we default these to prevent issues with forward
declarations, and to keep the compiler from inlining tear-down code.
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.cpp')
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index d17e64b2a..5b70a344d 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -31,6 +31,7 @@ constexpr u32 BATTERY_FULL = 2; enum class JoystickId : std::size_t { Joystick_Left, Joystick_Right }; Controller_NPad::Controller_NPad() = default; +Controller_NPad::~Controller_NPad() = default; void Controller_NPad::InitNewlyAddedControler(std::size_t controller_idx) { const auto controller_type = connected_controllers[controller_idx].type; |
