scriptindex: Fix broken optimisation
commitea3c9dffbe531fabb23df7e86c48fb8857f4ce0c
authorOlly Betts <olly@survex.com>
Wed, 2 May 2018 05:59:24 +0000 (2 17:59 +1200)
committerOlly Betts <olly@survex.com>
Wed, 2 May 2018 05:59:24 +0000 (2 17:59 +1200)
tree6bd75a539db0ccbbb439a4074614cd6b5daf152f
parentb350aaacea94d4e4923987904a6f57f9cb2fe544
scriptindex: Fix broken optimisation

A list of actions can apply to multiple fieldnames, but in this case
we can't use std::move() and have to copy the actions.  We can still use
std::move() in the (more common) case when there's only one fieldname.
xapian-applications/omega/omegatest
xapian-applications/omega/scriptindex.cc