revert(ALabel): ref on format

This commit is contained in:
Alexis
2018-11-22 16:50:42 +01:00
parent aaaa17d94f
commit 8db94f7efd
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#include <iostream>
waybar::ALabel::ALabel(const Json::Value& config, const std::string& format)
waybar::ALabel::ALabel(const Json::Value& config, const std::string format)
: config_(config),
format_(config_["format"].isString() ? config_["format"].asString() : format),
default_format_(format_)