Skip to content

Commit da5c0ab

Browse files
committed
Fix star.cpp clang regression again
1 parent ad62e7d commit da5c0ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/star.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -1031,9 +1031,8 @@ bool GuideStar::AutoFind(const usImage& image, int extraEdgeAllowance, int searc
10311031
// We're repeating the find, so we're vulnerable to hot pixels and creation of unwanted duplicates
10321032
if (tmp.WasFound() && tmp.SNR >= minSNR)
10331033
{
1034-
bool duplicate =
1035-
std::find_if(foundStars.begin(), foundStars.end(),
1036-
[&tmp](const GuideStar& other) { return CloseToReference(tmp, other); }) != foundStars.end();
1034+
bool duplicate = std::find_if(foundStars.begin(), foundStars.end(), [&tmp](const GuideStar& other)
1035+
{ return CloseToReference(tmp, other); }) != foundStars.end();
10371036

10381037
if (!duplicate)
10391038
{

0 commit comments

Comments
 (0)