const & parameter
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user