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

@@ -12,15 +12,15 @@ namespace Bloom::Events
private:
ThreadState state;
public:
DebugServerThreadStateChanged(ThreadState state): state(state) {};
explicit DebugServerThreadStateChanged(ThreadState state): state(state) {};
static inline const std::string name = "DebugServerThreadStateChanged";
std::string getName() const override {
[[nodiscard]] std::string getName() const override {
return DebugServerThreadStateChanged::name;
}
ThreadState getState() const {
[[nodiscard]] ThreadState getState() const {
return this->state;
}
};