Decouple <cstddef>

This commit is contained in:
Martin Natano
2023-04-19 23:04:25 +02:00
parent 093675cdc3
commit 78fb2e9fc3
171 changed files with 2012 additions and 1786 deletions
+2 -1
View File
@@ -31,6 +31,7 @@
#include "InputEventPlus.h"
#include <cmath>
#include <cstddef>
// metrics that are common to all ScreenEvaluation classes
#define BANNER_WIDTH THEME->GetMetricF(m_sName,"BannerWidth")
@@ -265,7 +266,7 @@ void ScreenEvaluation::Init()
{
if( SUMMARY )
{
for( size_t i=0; i<m_pStageStats->m_vpPlayedSongs.size()
for( std::size_t i=0; i<m_pStageStats->m_vpPlayedSongs.size()
&& i < MAX_SONGS_TO_SHOW; i++ )
{
Song *pSong = m_pStageStats->m_vpPlayedSongs[i];