Revert "common.h: use emplace in vec_append"

This was dumb, and not intended for commit.
This reverts commit ab353ce0e4.
This commit is contained in:
Aaron Gyes 2021-12-21 02:08:23 -08:00
parent 35253900cb
commit 8e1173bac9

View file

@ -260,7 +260,7 @@ void vec_append(std::vector<T> &receiver, std::vector<T> &&donator) {
if (receiver.empty()) {
receiver = std::move(donator);
} else {
receiver.emplace(receiver.end(), std::make_move_iterator(donator.begin()),
receiver.insert(receiver.end(), std::make_move_iterator(donator.begin()),
std::make_move_iterator(donator.end()));
}
}