War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be explicit on boolean operations, especially with ASSERT.
This commit is contained in:
@@ -62,7 +62,7 @@ void WorkoutGraph::SetInternal( int iMinSongsPlayed )
|
||||
vector<int> viMeters;
|
||||
FOREACH_CONST( TrailEntry, pTrail->m_vEntries, e )
|
||||
{
|
||||
ASSERT( e->pSteps );
|
||||
ASSERT( e->pSteps != NULL );
|
||||
viMeters.push_back( e->pSteps->GetMeter() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user