1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-05-26 18:12:06 -04:00

refactor(clang-tidy): Apply fixes

This commit is contained in:
Michael Carlberg 2016-11-25 13:55:15 +01:00
parent 0128014d44
commit ff9be848c7
119 changed files with 1752 additions and 1046 deletions

View file

@ -12,7 +12,7 @@ POLYBAR_NS
namespace drawtypes {
class progressbar : public non_copyable_mixin<progressbar> {
public:
explicit progressbar(const bar_settings bar, int width, string format);
explicit progressbar(const bar_settings& bar, int width, string format);
void set_fill(icon_t&& fill);
void set_empty(icon_t&& empty);
@ -40,7 +40,7 @@ namespace drawtypes {
using progressbar_t = shared_ptr<progressbar>;
progressbar_t load_progressbar(const bar_settings& bar, const config& conf, string section, string name);
progressbar_t load_progressbar(const bar_settings& bar, const config& conf, const string& section, string name);
}
POLYBAR_NS_END