From 8eeaffe117e3916cec67fdb955617e75727639f5 Mon Sep 17 00:00:00 2001 From: Michael Kuron <mkuron@icp.uni-stuttgart.de> Date: Wed, 30 Sep 2020 15:22:50 +0200 Subject: [PATCH] Silence recent Clang warning about unnecessary copy --- src/pe_coupling/geometry/PeBodyOverlapFunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pe_coupling/geometry/PeBodyOverlapFunctions.h b/src/pe_coupling/geometry/PeBodyOverlapFunctions.h index b0b0b3b28..5b9651c38 100644 --- a/src/pe_coupling/geometry/PeBodyOverlapFunctions.h +++ b/src/pe_coupling/geometry/PeBodyOverlapFunctions.h @@ -112,7 +112,7 @@ template<> inline FastOverlapResult fastOverlapCheck( const pe::Plane & pePlane, } uint_t numberOfContainedCorners( 0 ); - for( const Vector3<real_t> aabbCorner : box.corners() ) + for( const Vector3<real_t> & aabbCorner : box.corners() ) { if( pePlane.containsPoint(aabbCorner)) { -- GitLab