From 5d640b91d2da49a4d12db24103c447394ae44291 Mon Sep 17 00:00:00 2001 From: magnesj Date: Sat, 2 Mar 2024 02:03:37 +0000 Subject: [PATCH] Fixes by clang-tidy --- .../ProjectDataModel/Polygons/RimPolygonInViewCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationLibCode/ProjectDataModel/Polygons/RimPolygonInViewCollection.cpp b/ApplicationLibCode/ProjectDataModel/Polygons/RimPolygonInViewCollection.cpp index 4c60f9bba1..f6c6fda1e1 100644 --- a/ApplicationLibCode/ProjectDataModel/Polygons/RimPolygonInViewCollection.cpp +++ b/ApplicationLibCode/ProjectDataModel/Polygons/RimPolygonInViewCollection.cpp @@ -59,7 +59,7 @@ std::vector RimPolygonInViewCollection::visiblePolygonsInView for ( auto coll : m_collectionsInView ) { - if ( coll->isChecked() == false ) continue; + if ( !coll->isChecked() ) continue; auto other = coll->visiblePolygonsInView(); polys.insert( polys.end(), other.begin(), other.end() );