diff --git a/pcbnew/tools/zone_create_helper.cpp b/pcbnew/tools/zone_create_helper.cpp index 1fc024cb1d..e4947ef40d 100644 --- a/pcbnew/tools/zone_create_helper.cpp +++ b/pcbnew/tools/zone_create_helper.cpp @@ -56,7 +56,7 @@ ZONE_CREATE_HELPER::~ZONE_CREATE_HELPER() std::unique_ptr ZONE_CREATE_HELPER::createNewZone( bool aKeepout ) { - auto& frame = *m_tool.getEditFrame(); + auto& frame = *m_tool.getEditFrame(); auto& board = *m_tool.getModel(); KIGFX::VIEW_CONTROLS* controls = m_tool.GetManager()->GetViewControls(); @@ -160,7 +160,7 @@ void ZONE_CREATE_HELPER::performZoneCutout( ZONE_CONTAINER& aZone, ZONE_CONTAINE void ZONE_CREATE_HELPER::commitZone( std::unique_ptr aZone ) { - auto& frame = *m_tool.getEditFrame(); + auto& frame = *m_tool.getEditFrame(); auto board = m_tool.getModel(); switch ( m_params.m_mode )