]> git.ipfire.org Git - thirdparty/pdns.git/commit
LuaWrapper: Don't move the content of vectors, maps and unordered_maps 5502/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Jul 2017 08:27:07 +0000 (10:27 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Jul 2017 08:27:07 +0000 (10:27 +0200)
commitbb6f25c84e1e80c37140173721d6b45ec9148cdc
treeb0ce60b1a4bd2e7552b8c48a04beefc582dd03b7
parent95e574d94e91667d8aa981fe38e35cc08bb19976
LuaWrapper: Don't move the content of vectors, maps and unordered_maps

They might hold shared pointers, and moving them cause the source
to become empty.

luawrapper f9c686e2fa3ad5cf5593265dda491239e32e2955
ext/luawrapper/include/LuaContext.hpp