Fixed style warnings

This commit is contained in:
Pradeepa Senanayake 2021-07-25 20:51:07 +10:00 committed by Jeff Young
parent 109e40c3a6
commit c006a4f26e
2 changed files with 5 additions and 2 deletions

View File

@ -72,7 +72,10 @@ GERBER_FILE_IMAGE* GERBER_FILE_IMAGE_LIST::GetGbrImage( int aIdx )
unsigned GERBER_FILE_IMAGE_LIST::GetLoadedImageCount()
{
auto notNull = []( GERBER_FILE_IMAGE* image ){ return image != nullptr; };
auto notNull = []( GERBER_FILE_IMAGE* image )
{
return image != nullptr;
};
return std::count_if( m_GERBER_List.begin(), m_GERBER_List.end(), notNull );
}