Decouple <cstddef>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user