please compiler overlords

This commit is contained in:
Mm2PL 2023-01-31 15:28:36 +01:00
parent 1cc849b9f7
commit 9bb17cf16a
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -76,7 +76,8 @@ bool PluginController::tryLoadFromDir(const QDir &pluginDir)
void PluginController::openLibrariesFor(lua_State *L, PluginMeta meta)
{
// copied from linit.c
static const std::array<luaL_Reg, 11> loadedlibs = {
// NOLINTNEXTLINE
static const std::vector<luaL_Reg> loadedlibs = {
luaL_Reg{LUA_GNAME, luaopen_base},
luaL_Reg{LUA_LOADLIBNAME, luaopen_package},
luaL_Reg{LUA_COLIBNAME, luaopen_coroutine},