Fixed minor incorrect variable references.

This commit is contained in:
2017-04-10 17:50:19 +02:00
parent 57bc28bfd3
commit 6e7abb283e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ bool matchesVariable(const ast::Term &term, const ast::Variable &variable)
if (!term.is<ast::Variable>())
return false;
const auto otherVariable = term.get<ast::Variable>();
const auto &otherVariable = term.get<ast::Variable>();
return variable.name == otherVariable.name;
}