fix(custom): do not take the custom module ref

This commit is contained in:
Alexis
2018-08-21 10:50:09 +02:00
parent 8be67d5008
commit 0dba3abc1d
5 changed files with 7 additions and 7 deletions

View File

@ -10,12 +10,12 @@ namespace waybar::modules {
class Custom : public ALabel {
public:
Custom(const std::string&, const Json::Value&);
Custom(const std::string, const Json::Value&);
auto update() -> void;
private:
void worker();
const std::string& name_;
const std::string name_;
waybar::util::SleeperThread thread_;
};