refactor(modules): const bar

This commit is contained in:
Alexis
2018-12-01 00:10:41 +01:00
parent 281bab4943
commit 691fb88057
11 changed files with 17 additions and 17 deletions

View File

@ -27,10 +27,10 @@ class Bar;
class Factory {
public:
Factory(Bar& bar, const Json::Value& config);
Factory(const Bar& bar, const Json::Value& config);
IModule* makeModule(const std::string &name) const;
private:
Bar& bar_;
const Bar& bar_;
const Json::Value& config_;
};