refactor: Pass by value
This commit is contained in:
parent
b26ab9ce5f
commit
e1f8c001dd
72 changed files with 253 additions and 253 deletions
include/modules
|
@ -24,10 +24,10 @@ namespace modules
|
|||
concurrency::Atomic<int> percentage;
|
||||
|
||||
public:
|
||||
explicit BacklightModule(const std::string& name);
|
||||
explicit BacklightModule(std::string name);
|
||||
|
||||
bool on_event(InotifyEvent *event);
|
||||
bool build(Builder *builder, const std::string& tag);
|
||||
bool build(Builder *builder, std::string tag);
|
||||
|
||||
void idle() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue