Use Boolean expression instead of conditional statement to get Boolean value.
This commit is contained in:
@@ -2451,9 +2451,7 @@ protected:
|
||||
|
||||
bool HasCell( unsigned int column ) const
|
||||
{
|
||||
if ( m_cells.size() > column )
|
||||
return true;
|
||||
return false;
|
||||
return m_cells.size() > column;
|
||||
}
|
||||
|
||||
void InitAfterAdded( wxPropertyGridPageState* pageState,
|
||||
|
Reference in New Issue
Block a user