pass as reference

This commit is contained in:
2021-04-14 07:55:33 +02:00
parent e0574837b6
commit c95d7ec886
3 changed files with 2 additions and 3 deletions

2
ml.h
View File

@@ -34,7 +34,7 @@ public:
// have this atom in scope?
// This is only used to determine which atoms to capture when
// creating a lambda function.
bool has(std::string name) const;
bool has(const std::string &name) const;
// Get the value associated with this name in this scope
MlValue get(const std::string &name) const;