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
|
bool HasCell( unsigned int column ) const
|
||||||
{
|
{
|
||||||
if ( m_cells.size() > column )
|
return m_cells.size() > column;
|
||||||
return true;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitAfterAdded( wxPropertyGridPageState* pageState,
|
void InitAfterAdded( wxPropertyGridPageState* pageState,
|
||||||
|
Reference in New Issue
Block a user