Use memmove() in Vec::erase()
commit3f4a6f582b0664d537e53c934a031e68745798ea
authorOlly Betts <olly@survex.com>
Fri, 27 Jul 2018 03:59:11 +0000 (27 15:59 +1200)
committerOlly Betts <olly@survex.com>
Fri, 27 Jul 2018 04:20:39 +0000 (27 16:20 +1200)
tree70f842831fc20f3963fc62c59219da4f97e1ceac
parent03a35e7c34ce3be145fa3d562ba00ceb06881af8
Use memmove() in Vec::erase()

It makes for simpler code, and we already require T be trivially
copyable, since we use memcpy() in the move constructor.
xapian-core/api/smallvector.h