Skip to content
Snippets Groups Projects
Commit 119b47f3 authored by Lioncash's avatar Lioncash
Browse files

controller_base: Default the base class constructor and destructor in the cpp file

The destructor doesn't need to be a pure-virtual function.
parent 7dee60d7
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include "core/hle/service/hid/controllers/controller_base.h" #include "core/hle/service/hid/controllers/controller_base.h"
namespace Service::HID { namespace Service::HID {
ControllerBase::ControllerBase() = default;
ControllerBase::~ControllerBase() = default; ControllerBase::~ControllerBase() = default;
void ControllerBase::ActivateController() { void ControllerBase::ActivateController() {
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
namespace Service::HID { namespace Service::HID {
class ControllerBase { class ControllerBase {
public: public:
ControllerBase() = default; ControllerBase();
virtual ~ControllerBase() = 0; virtual ~ControllerBase();
// Called when the controller is initialized // Called when the controller is initialized
virtual void OnInit() = 0; virtual void OnInit() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment