summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index 1c87f7f..5f1c9a0 100644
--- a/device.cc
+++ b/device.cc
@@ -72,7 +72,7 @@ bool Device::_connect() {
// hid_init(); // done automatically on hid_open
mp_devhandle = hid_open(m_vid, m_pid, nullptr);
- const auto success = mp_devhandle != nullptr;
+ const bool success = mp_devhandle != nullptr;
LOG(std::string("Connection success: ") + std::to_string(success), Loglevel::DEBUG_L2);
return success;
}