Skip to content

Commit 8016caa

Browse files
committed
Added a missing change from a header.
1 parent 11a8b1e commit 8016caa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ast/analysis/Aggregate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ std::set<std::string> getVariablesOutsideAggregate(const Clause& clause, const A
5050
* Find a new relation name. I use this when I create new relations either for
5151
* aggregate bodies or singleton aggregates.
5252
**/
53-
std::string findUniqueRelationName(const Program& program, std::string base);
53+
std::string findUniqueRelationName(const Program& program, const std::string& base);
5454
/**
5555
* Find a variable name using base to form a string like base1
5656
* Use this when you need to limit the scope of a variable to the inside of an aggregate.
5757
**/
58-
std::string findUniqueVariableName(const Clause& clause, std::string base);
58+
std::string findUniqueVariableName(const Clause& clause, const std::string& base);
5959
/**
6060
* Given an aggregate and a clause, we find all the variables that have been
6161
* injected into the aggregate.

0 commit comments

Comments
 (0)