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
+3 -1
View File
@@ -1,6 +1,8 @@
#include "global.h"
#include "RageFileDriverSlice.h"
#include <cstddef>
RageFileDriverSlice::RageFileDriverSlice( RageFileBasic *pFile, int iOffset, int iFileSize )
{
m_pFile = pFile;
@@ -32,7 +34,7 @@ RageFileDriverSlice *RageFileDriverSlice::Copy() const
return pRet;
}
int RageFileDriverSlice::ReadInternal( void *buf, size_t bytes )
int RageFileDriverSlice::ReadInternal( void *buf, std::size_t bytes )
{
/* Make sure we're reading from the right place. We might have been constructed
* with a file not pointing to iOffset. */