General tidying, addressing issues found by static analysis tool.

This commit is contained in:
Nav
2021-06-22 23:52:31 +01:00
parent 69cee4d579
commit d365f6348b
151 changed files with 386 additions and 420 deletions

View File

@@ -65,7 +65,7 @@ namespace Bloom::Usb
}
public:
std::size_t getInputReportSize() {
std::size_t getInputReportSize() const {
return this->inputReportSize;
}

View File

@@ -8,7 +8,8 @@
*
* https://github.com/signal11/hidapi
*/
struct hid_device_ {
struct hid_device_
{
// Handle to the actual device.
libusb_device_handle* device_handle;