Skip to content

Commit

Permalink
Remove extra this
Browse files Browse the repository at this point in the history
  • Loading branch information
shouth committed Feb 14, 2024
1 parent 6c6f464 commit 18f4ab6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ auto DistanceCondition::evaluate() -> Object

return asBoolean(triggering_entities.apply([&](auto && triggering_entity) {
results.push_back(
triggering_entity.apply([&](const auto & object) { return this->distance(object); }));
triggering_entity.apply([&](const auto & object) { return distance(object); }));
return not results.back().size() or rule(results.back(), value).min();
}));
}
Expand Down

0 comments on commit 18f4ab6

Please sign in to comment.