mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
please compiler overlords
This commit is contained in:
parent
1cc849b9f7
commit
9bb17cf16a
1 changed files with 2 additions and 1 deletions
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue