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
include/modules

View file

@ -8,7 +8,7 @@ POLYBAR_NS
namespace modules {
struct brightness_handle {
void filepath(string path);
void filepath(const string& path);
float read() const;
private:
@ -22,7 +22,7 @@ namespace modules {
void setup();
void idle();
bool on_event(inotify_event* event);
bool build(builder* builder, string tag) const;
bool build(builder* builder, const string& tag) const;
private:
static constexpr auto TAG_LABEL = "<label>";