Skip to content

Commit

Permalink
SonarQube feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kcaliban committed Jan 12, 2024
1 parent ceeeb9e commit 156a239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/GroupBy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ void GroupBy::evaluateAlias(
sparqlExpression::copyExpressionResult(
sparqlExpression::ExpressionResult{std::move(aggregateResults)});
} else {
auto occurrences =
const auto& occurrences =
get<std::vector<ParentAndChildIndex>>(groupByVariableSubstitutions);
// Substitute in the values of the grouped variable
substituteGroupVariable(occurrences, result);
Expand Down

0 comments on commit 156a239

Please sign in to comment.