const & parameter
This commit is contained in:
parent
2618f7b7ae
commit
e84d63c138
2
ml.cpp
2
ml.cpp
|
|
@ -644,7 +644,7 @@ std::ostream &operator<<(std::ostream &os, MlEnvironment const &e) {
|
|||
return os << "}";
|
||||
}
|
||||
|
||||
void MlEnvironment::set(std::string name, MlValue value) {
|
||||
void MlEnvironment::set(const std::string &name, MlValue value) {
|
||||
defs[name] = value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue