From 5d7b55bc69614d4db1423453aa1fd13c1f25a3cf Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Wed, 18 Oct 2017 14:52:33 -0700 Subject: [PATCH] init: add extra std::move This is meant to be copy-and-move, but I forgot the move. Test: build Change-Id: I755ad0d99624dc0ae419ad9ed3ae6d0e017b27c5 --- init/subcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/subcontext.h b/init/subcontext.h index ac77e08a8..e920034bc 100644 --- a/init/subcontext.h +++ b/init/subcontext.h @@ -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(); }