Happy clang

This commit is contained in:
Viktar Lukashonak
2023-03-02 16:57:07 +03:00
parent 39bc54e3ad
commit 61a6c00c02
42 changed files with 96 additions and 95 deletions

View File

@ -40,8 +40,8 @@ class Backlight : public ALabel {
public:
Backlight(const std::string &, const Json::Value &);
~Backlight();
auto update() -> void;
virtual ~Backlight();
auto update() -> void override;
private:
template <class ForwardIt>
@ -51,7 +51,7 @@ class Backlight : public ALabel {
template <class ForwardIt, class Inserter>
static void enumerate_devices(ForwardIt first, ForwardIt last, Inserter inserter, udev *udev);
bool handleScroll(GdkEventScroll *e);
bool handleScroll(GdkEventScroll *e) override;
const std::string preferred_device_;
static constexpr int EPOLL_MAX_EVENTS = 16;