Coding style fixes

This commit is contained in:
Tomasz Włostowski 2017-03-03 20:26:18 +01:00
parent 18a9f037d2
commit 966052272f
5 changed files with 10 additions and 7 deletions

View File

@ -151,6 +151,7 @@ public:
T* FirstOfKind() const
{
auto refType = T( nullptr ).Type();
for( auto item : m_items )
{
if( item->Type() == refType )

View File

@ -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() )