mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor: style issue
This commit is contained in:
@ -8,7 +8,7 @@ namespace waybar {
|
||||
class ALabel : public IModule {
|
||||
public:
|
||||
ALabel(Json::Value);
|
||||
virtual ~ALabel();
|
||||
virtual ~ALabel() = default;
|
||||
virtual auto update() -> void;
|
||||
virtual operator Gtk::Widget &();
|
||||
protected:
|
||||
|
@ -11,7 +11,7 @@ class Custom : public ALabel {
|
||||
Custom(const std::string&, Json::Value);
|
||||
auto update() -> void;
|
||||
private:
|
||||
const std::string name_;
|
||||
const std::string& name_;
|
||||
waybar::util::SleeperThread thread_;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user