refactor: Pass by value
This commit is contained in:
parent
b26ab9ce5f
commit
e1f8c001dd
72 changed files with 253 additions and 253 deletions
include/modules
|
@ -63,15 +63,15 @@ namespace modules
|
|||
int ipc_fd = -1;
|
||||
|
||||
public:
|
||||
i3Module(const std::string& name, const std::string& monitor);
|
||||
i3Module(std::string name, std::string monitor);
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
bool has_event();
|
||||
bool update();
|
||||
bool build(Builder *builder, const std::string& tag);
|
||||
bool build(Builder *builder, std::string tag);
|
||||
|
||||
bool handle_command(const std::string& cmd);
|
||||
bool handle_command(std::string cmd);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue