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

@ -29,8 +29,8 @@ namespace fs = std::filesystem;
class Battery : public ALabel {
public:
Battery(const std::string&, const Json::Value&);
~Battery();
auto update() -> void;
virtual ~Battery();
auto update() -> void override;
private:
static inline const fs::path data_dir_ = "/sys/class/power_supply/";