Fixed a hidden overloaded virtual function warning in PNS
This commit is contained in:
parent
ee2b1ac321
commit
ee862e1db4
|
@ -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>
|
||||
*
|
||||
|
@ -298,12 +298,12 @@ public:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
virtual void Mark(int aMarker)
|
||||
virtual void Mark( int aMarker )
|
||||
{
|
||||
m_marker = aMarker;
|
||||
}
|
||||
|
||||
virtual void Unmark(int aMarker = -1)
|
||||
virtual void Unmark( int aMarker = -1 )
|
||||
{
|
||||
m_marker &= ~aMarker;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue