summaryrefslogtreecommitdiffstats
path: root/src/eval_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval_env.h')
-rw-r--r--src/eval_env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval_env.h b/src/eval_env.h
index 250fa55..28c4d16 100644
--- a/src/eval_env.h
+++ b/src/eval_env.h
@@ -84,7 +84,7 @@ struct BindingEnv : public Env {
void AddRule(const Rule* rule);
const Rule* LookupRule(const string& rule_name);
const Rule* LookupRuleCurrentScope(const string& rule_name);
- const map<string, const Rule*> GetRules() const;
+ const map<string, const Rule*>& GetRules() const;
void AddBinding(const string& key, const string& val);