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

@@ -18,7 +18,7 @@ namespace Bloom::Usb
std::uint16_t productId = 0;
std::uint8_t number = 0;
std::string name = "";
std::string name;
bool initialised = false;
bool claimed = false;
@@ -52,11 +52,11 @@ namespace Bloom::Usb
this->name = name;
}
bool isClaimed() {
bool isClaimed() const {
return this->claimed;
}
bool isInitialised() {
bool isInitialised() const {
return this->initialised;
}