diff options
| author | bunnei <bunneidev@gmail.com> | 2018-09-11 11:42:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-11 11:42:05 -0400 |
| commit | 1470b85af9027106f16c888bb7f6a97d44fad304 (patch) | |
| tree | 47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/hid | |
| parent | 2f0ff4d25b0780a84769bd0277bcab3c56e3186b (diff) | |
| parent | 6ac955a0b441d762a2ebc0ce96bc41954879c0fc (diff) | |
Merge pull request #1291 from lioncash/default
hle/service: Default constructors and destructors in the cpp file where applicable
Diffstat (limited to 'src/core/hle/service/hid')
| -rw-r--r-- | src/core/hle/service/hid/irs.cpp | 4 | ||||
| -rw-r--r-- | src/core/hle/service/hid/irs.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/hid/xcd.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/hid/xcd.h | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/irs.cpp b/src/core/hle/service/hid/irs.cpp index aaf311912..e587ad0d8 100644 --- a/src/core/hle/service/hid/irs.cpp +++ b/src/core/hle/service/hid/irs.cpp @@ -33,6 +33,8 @@ IRS::IRS() : ServiceFramework{"irs"} { RegisterHandlers(functions); } +IRS::~IRS() = default; + IRS_SYS::IRS_SYS() : ServiceFramework{"irs:sys"} { // clang-format off static const FunctionInfo functions[] = { @@ -46,4 +48,6 @@ IRS_SYS::IRS_SYS() : ServiceFramework{"irs:sys"} { RegisterHandlers(functions); } +IRS_SYS::~IRS_SYS() = default; + } // namespace Service::HID diff --git a/src/core/hle/service/hid/irs.h b/src/core/hle/service/hid/irs.h index a8be701c7..6fb16b45d 100644 --- a/src/core/hle/service/hid/irs.h +++ b/src/core/hle/service/hid/irs.h @@ -11,11 +11,13 @@ namespace Service::HID { class IRS final : public ServiceFramework<IRS> { public: explicit IRS(); + ~IRS() override; }; class IRS_SYS final : public ServiceFramework<IRS_SYS> { public: explicit IRS_SYS(); + ~IRS_SYS() override; }; } // namespace Service::HID diff --git a/src/core/hle/service/hid/xcd.cpp b/src/core/hle/service/hid/xcd.cpp index 49f733f60..c8e9125f6 100644 --- a/src/core/hle/service/hid/xcd.cpp +++ b/src/core/hle/service/hid/xcd.cpp @@ -34,4 +34,6 @@ XCD_SYS::XCD_SYS() : ServiceFramework{"xcd:sys"} { RegisterHandlers(functions); } +XCD_SYS::~XCD_SYS() = default; + } // namespace Service::HID diff --git a/src/core/hle/service/hid/xcd.h b/src/core/hle/service/hid/xcd.h index 232a044df..fd506d303 100644 --- a/src/core/hle/service/hid/xcd.h +++ b/src/core/hle/service/hid/xcd.h @@ -11,6 +11,7 @@ namespace Service::HID { class XCD_SYS final : public ServiceFramework<XCD_SYS> { public: explicit XCD_SYS(); + ~XCD_SYS() override; }; } // namespace Service::HID |
