Skip to content

Commit

Permalink
minor warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skramm committed Dec 9, 2023
1 parent dd7cf2d commit 3fb4c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homog2d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8605,7 +8605,7 @@ detail::IntersectM<FPT>
LPBase<LP,FPT>::impl_intersectsFRect( const FRect_<FPT2>& rect, const detail::BaseHelper<typename type::IsLine>& ) const
{
std::vector<Point2d_<FPT>> pti;
for( const auto seg: rect.getSegs() ) // get segment of rectangle
for( const auto& seg: rect.getSegs() ) // get segment of rectangle
{
auto ppts_seg = seg.getPts();
auto inters = seg.intersects( *this );
Expand Down

0 comments on commit 3fb4c07

Please sign in to comment.