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

@ -25,16 +25,14 @@ namespace modules {
*/
class xbacklight_module : public static_module<xbacklight_module>, public xpp::event::sink<evt::randr_notify> {
public:
using static_module::static_module;
xbacklight_module(const bar_settings bar, const logger& logger, const config& config, string name);
xbacklight_module(const bar_settings& bar, const logger& logger, const config& config, string name);
void setup();
void teardown();
void handle(const evt::randr_notify& evt);
void update();
string get_output();
bool build(builder* builder, string tag) const;
bool build(builder* builder, const string& tag) const;
bool handle_event(string cmd);
bool receive_events() const {
return true;