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
@@ -60,7 +60,7 @@ void WorkoutGraph::SetInternal( int iMinSongsPlayed )
if( pTrail == nullptr )
return;
vector<int> viMeters;
std::vector<int> viMeters;
for (TrailEntry const &e : pTrail->m_vEntries)
{
ASSERT( e.pSteps != nullptr );
@@ -78,7 +78,7 @@ void WorkoutGraph::SetInternal( int iMinSongsPlayed )
float fTotalHeight = SCALE( iBlocksHigh, 1.0f, 10.0f, 50.0f, fMaxHeight );
CLAMP( fTotalHeight, 50, fMaxHeight );
float fBlockSize = min( fTotalWidth / iBlocksWide, fTotalHeight / iBlocksHigh );
float fBlockSize = std::min( fTotalWidth / iBlocksWide, fTotalHeight / iBlocksHigh );
m_sprEmpty.SetVertAlign( align_bottom );
m_sprEmpty.SetCustomImageRect( RectF(0,0,(float)iBlocksWide,(float)iBlocksHigh) );