From da5c0abb75772759c1b4176224e32c182b89e7ec Mon Sep 17 00:00:00 2001 From: Bruce Waddington Date: Mon, 23 Dec 2024 12:59:33 -0800 Subject: [PATCH] Fix star.cpp clang regression again --- src/star.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/star.cpp b/src/star.cpp index 472f1d967..d7aa5bec5 100644 --- a/src/star.cpp +++ b/src/star.cpp @@ -1031,9 +1031,8 @@ bool GuideStar::AutoFind(const usImage& image, int extraEdgeAllowance, int searc // We're repeating the find, so we're vulnerable to hot pixels and creation of unwanted duplicates if (tmp.WasFound() && tmp.SNR >= minSNR) { - bool duplicate = - std::find_if(foundStars.begin(), foundStars.end(), - [&tmp](const GuideStar& other) { return CloseToReference(tmp, other); }) != foundStars.end(); + bool duplicate = std::find_if(foundStars.begin(), foundStars.end(), [&tmp](const GuideStar& other) + { return CloseToReference(tmp, other); }) != foundStars.end(); if (!duplicate) {