Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
@@ -141,12 +141,12 @@ void StreamDisplay::SetPercent( float fPercent )
|
||||
float fLifeMultiplier = THEME->GetMetricF("LifeMeterBar","LifeMultiplier");
|
||||
#endif
|
||||
DEBUG_ASSERT( fPercent >= 0.0f && fPercent <= 1.0f * fLifeMultiplier );
|
||||
if( isnan(fPercent) )
|
||||
if( std::isnan(fPercent) )
|
||||
{
|
||||
DEBUG_ASSERT_M( 0, "fPercent is NaN" );
|
||||
fPercent = 1;
|
||||
}
|
||||
if( !isfinite(fPercent) )
|
||||
if( !std::isfinite(fPercent) )
|
||||
{
|
||||
DEBUG_ASSERT_M( 0, "fPercent is infinite" );
|
||||
fPercent = 1;
|
||||
|
||||
Reference in New Issue
Block a user