Decouple <cstddef>

This commit is contained in:
Martin Natano
2023-04-20 11:21:29 +02:00
parent 093675cdc3
commit 78fb2e9fc3
171 changed files with 2012 additions and 1786 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include "arch/Sound/RageSoundDriver.h"
#include <cmath>
#include <cstddef>
GameSoundManager *SOUND = nullptr;
@@ -905,7 +906,7 @@ int LuaFunc_get_sound_driver_list(lua_State* L)
std::vector<RString> driver_names;
split(RageSoundDriver::GetDefaultSoundDriverList(), ",", driver_names, true);
lua_createtable(L, driver_names.size(), 0);
for(size_t n= 0; n < driver_names.size(); ++n)
for(std::size_t n= 0; n < driver_names.size(); ++n)
{
lua_pushstring(L, driver_names[n].c_str());
lua_rawseti(L, -2, n+1);