Resolve majority of clang+libstdc++ warnings

This commit is contained in:
damageboy
2021-12-07 11:58:55 +02:00
parent aa4c895c1e
commit 7424c4fe94
8 changed files with 14 additions and 8 deletions

View File

@@ -63,6 +63,8 @@ namespace actions {
virtual uint8_t reprogFlags() const = 0;
virtual ~Action() = default;
class Config
{
protected:

View File

@@ -31,7 +31,7 @@ namespace actions
explicit InvalidGesture(std::string what="") : _what (what)
{
}
virtual const char* what()
virtual const char* what() const noexcept
{
return _what.c_str();
}
@@ -49,6 +49,8 @@ namespace actions
virtual bool wheelCompatibility() const = 0;
virtual bool metThreshold() const = 0;
virtual ~Gesture() = default;
class Config
{
public: