From: SmallJoker Date: Tue, 21 May 2019 17:16:01 +0000 (+0200) Subject: l_mapgen.cpp: Fix LINT broken since b1b40fe X-Git-Tag: 5.1.0~216 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cfef466d4ef2eee5586bbd8afacc64e4a1939d88;p=oweals%2Fminetest.git l_mapgen.cpp: Fix LINT broken since b1b40fe --- diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp index cb1dc1fff..e7e002c16 100644 --- a/src/script/lua_api/l_mapgen.cpp +++ b/src/script/lua_api/l_mapgen.cpp @@ -410,7 +410,7 @@ Biome *read_biome_def(lua_State *L, int index, const NodeDefManager *ndef) // If no cave liquids defined, set list to "ignore" to trigger old hardcoded // cave liquid behaviour. if (nnames == 0) { - nn.push_back("ignore"); + nn.emplace_back("ignore"); nnames = 1; } b->m_nnlistsizes.push_back(nnames);