Fixed a hidden overloaded virtual function warning in PNS

This commit is contained in:
Maciej Suminski 2017-01-17 15:06:33 +01:00
parent ee2b1ac321
commit ee862e1db4
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
/*
* KiRouter - a push-and-(sometimes-)shove PCB router
*
* Copyright (C) 2013-2014 CERN
* Copyright (C) 2013-2017 CERN
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*

View File

@ -1,7 +1,7 @@
/*
* KiRouter - a push-and-(sometimes-)shove PCB router
*
* Copyright (C) 2013-2014 CERN
* Copyright (C) 2013-2017 CERN
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
@ -93,10 +93,10 @@ void LINE::Mark( int aMarker )
}
void LINE::Unmark()
void LINE::Unmark( int aMarker )
{
for( SEGMENT* s : m_segmentRefs )
s->Unmark();
s->Unmark( aMarker );
m_marker = 0;
}

View File

@ -1,7 +1,7 @@
/*
* KiRouter - a push-and-(sometimes-)shove PCB router
*
* Copyright (C) 2013-2014 CERN
* Copyright (C) 2013-2017 CERN
* Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
@ -253,7 +253,7 @@ public:
const VIA& Via() const { return m_via; }
virtual void Mark( int aMarker ) override;
virtual void Unmark ();
virtual void Unmark( int aMarker = -1 ) override;
virtual int Marker() const override;
void DragSegment( const VECTOR2I& aP, int aIndex, int aSnappingThreshold = 0 );