From c75d100863c1b02418b8a89e15160c837d733b11 Mon Sep 17 00:00:00 2001 From: RobinTF <83676088+RobinTF@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:22:14 +0100 Subject: [PATCH] Try to fix false positive warning --- src/util/JoinAlgorithms/JoinAlgorithms.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/JoinAlgorithms/JoinAlgorithms.h b/src/util/JoinAlgorithms/JoinAlgorithms.h index e024946317..f6ed05aee4 100644 --- a/src/util/JoinAlgorithms/JoinAlgorithms.h +++ b/src/util/JoinAlgorithms/JoinAlgorithms.h @@ -1141,7 +1141,8 @@ struct BlockZipperJoinImpl { typename RightSide::CurrentBlocks> auto& target, ad_utility::SameAsAny 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);