init: add extra std::move

This is meant to be copy-and-move, but I forgot the move.

Test: build
Change-Id: I755ad0d99624dc0ae419ad9ed3ae6d0e017b27c5
This commit is contained in:
Tom Cherry 2017-10-18 14:52:33 -07:00
parent 8158d708c3
commit 5d7b55bc69
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ extern const std::string kVendorContext;
class Subcontext {
public:
Subcontext(std::string path_prefix, std::string context)
: path_prefix_(path_prefix), context_(std::move(context)) {
: path_prefix_(std::move(path_prefix)), context_(std::move(context)) {
Fork();
}