Coding style fixes
This commit is contained in:
parent
18a9f037d2
commit
966052272f
|
@ -151,6 +151,7 @@ public:
|
|||
T* FirstOfKind() const
|
||||
{
|
||||
auto refType = T( nullptr ).Type();
|
||||
|
||||
for( auto item : m_items )
|
||||
{
|
||||
if( item->Type() == refType )
|
||||
|
|
|
@ -53,7 +53,7 @@ BOARD_COMMIT::~BOARD_COMMIT()
|
|||
}
|
||||
|
||||
|
||||
void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry)
|
||||
void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry )
|
||||
{
|
||||
// Objects potentially interested in changes:
|
||||
PICKED_ITEMS_LIST undoList;
|
||||
|
|
|
@ -88,7 +88,7 @@ void DRC::ShowDRCDialog( wxWindow* aParent )
|
|||
}
|
||||
}
|
||||
|
||||
void DRC::addMarkerToPcb( MARKER_PCB *aMarker )
|
||||
void DRC::addMarkerToPcb( MARKER_PCB* aMarker )
|
||||
{
|
||||
BOARD_COMMIT commit ( m_pcbEditorFrame );
|
||||
commit.Add( aMarker );
|
||||
|
|
|
@ -258,7 +258,7 @@ private:
|
|||
* Function addMarkerToPcb
|
||||
* Adds a DRC marker to the PCB throught the COMMIT mechanism.
|
||||
*/
|
||||
void addMarkerToPcb( MARKER_PCB *aMarker );
|
||||
void addMarkerToPcb( MARKER_PCB* aMarker );
|
||||
|
||||
//-----<categorical group tests>-----------------------------------------
|
||||
|
||||
|
|
|
@ -319,11 +319,13 @@ int SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
SELECTION& SELECTION_TOOL::GetSelection()
|
||||
{
|
||||
return m_selection;
|
||||
}
|
||||
|
||||
|
||||
SELECTION& SELECTION_TOOL::RequestSelection( int aFlags )
|
||||
{
|
||||
if ( m_selection.Empty() )
|
||||
|
|
Loading…
Reference in New Issue