Use Boolean expression instead of conditional statement to get Boolean value.
This commit is contained in:
parent
d0eea355fa
commit
bbecebd4ba
1 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue