refactor: Pass by value

This commit is contained in:
Michael Carlberg 2016-06-21 03:59:43 +02:00
parent b26ab9ce5f
commit e1f8c001dd
72 changed files with 253 additions and 253 deletions
include/modules

View file

@ -33,12 +33,12 @@ namespace modules
std::unique_ptr<drawtypes::Label> label_close;
public:
explicit MenuModule(const std::string& name);
explicit MenuModule(std::string name);
std::string get_output();
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);
};
}