Small performance improvement for DRC.

This commit is contained in:
Jeff Young 2024-01-30 11:46:05 +00:00
parent 18692ea8e7
commit dc21defab7
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ const unsigned CORNERS_COUNT = arrayDim( MarkerShapeCorners );
MARKER_BASE::MARKER_BASE( int aScalingFactor, std::shared_ptr<RC_ITEM> aItem, MARKER_T aType ) :
m_markerType( aType ),
m_excluded( false ),
m_rcItem( aItem ),
m_rcItem( std::move( aItem ) ),
m_scalingFactor( aScalingFactor )
{
const VECTOR2I* point_shape = MarkerShapeCorners;