Skip to content

Commit

Permalink
Try to fix false positive warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTF committed Nov 18, 2024
1 parent 108d5ae commit c75d100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/JoinAlgorithms/JoinAlgorithms.h
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,8 @@ struct BlockZipperJoinImpl {
typename RightSide::CurrentBlocks> auto&
target,
ad_utility::SameAsAny<LeftSide, RightSide> auto& side) {
removeEqualToCurrentEl(side.currentBlocks_, currentEl);
// Explicit this to avoid false positive warning in clang.
this->removeEqualToCurrentEl(side.currentBlocks_, currentEl);
bool allBlocksWereFilled = fillEqualToCurrentEl(side, currentEl);
if (side.currentBlocks_.empty()) {
AD_CORRECTNESS_CHECK(allBlocksWereFilled);
Expand Down

0 comments on commit c75d100

Please sign in to comment.