diff options
author | german77 <juangerman-13@hotmail.com> | 2022-12-23 08:32:02 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-19 18:05:22 -0600 |
commit | e1a3bda4d9881cb99c36b64733b814a3bb437f13 (patch) | |
tree | a9c0d864b023a810f48c129bb8bd6e84afb2ed2b /src/input_common/helpers/joycon_protocol/nfc.h | |
parent | 1c08d532e059fab603facb43f758f37fe148c1fc (diff) |
Address review comments
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/nfc.h')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/nfc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/helpers/joycon_protocol/nfc.h b/src/input_common/helpers/joycon_protocol/nfc.h index 0ede03d505..5cb0e5a652 100644 --- a/src/input_common/helpers/joycon_protocol/nfc.h +++ b/src/input_common/helpers/joycon_protocol/nfc.h @@ -17,7 +17,7 @@ namespace InputCommon::Joycon { class NfcProtocol final : private JoyconCommonProtocol { public: - NfcProtocol(std::shared_ptr<JoyconHandle> handle); + explicit NfcProtocol(std::shared_ptr<JoyconHandle> handle); DriverResult EnableNfc(); @@ -29,7 +29,7 @@ public: bool HasAmiibo(); - bool IsEnabled(); + bool IsEnabled() const; private: struct TagFoundData { |