mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 13:37:48 +00:00
NintendoPowerA: Make constructor explicit
While we're at it we can also ensure that all class members have deterministic initial state.
This commit is contained in:
@@ -8,7 +8,7 @@ namespace boo {
|
||||
NintendoPowerA::NintendoPowerA(DeviceToken* token)
|
||||
: TDeviceBase<INintendoPowerACallback>(dev_typeid(NintendoPowerA), token) {}
|
||||
|
||||
NintendoPowerA::~NintendoPowerA() {}
|
||||
NintendoPowerA::~NintendoPowerA() = default;
|
||||
|
||||
void NintendoPowerA::deviceDisconnected() {
|
||||
std::lock_guard<std::mutex> lk(m_callbackLock);
|
||||
|
||||
Reference in New Issue
Block a user