Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements

Fix whitespace changes
This commit is contained in:
Michael Sundqvist
2022-07-10 18:28:56 +03:00
committed by Martin Natano
parent f0680a29fc
commit 0cba3579de
534 changed files with 3456 additions and 3488 deletions
+2 -2
View File
@@ -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;