refactor: style issue

This commit is contained in:
Alexis
2018-08-18 15:05:18 +02:00
parent b1fd4d7b82
commit 27dfffa4e3
7 changed files with 7 additions and 12 deletions

View File

@ -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:

View File

@ -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_;
};