Use std::move() to prevent unnecessary copying. [DO NOT MERGE]

Bug: http://b/110779387
Test: Builds with new toolchain.
Change-Id: I735a3ecda11a662edaddbe21c36433a91bb8a7f1
gugelfrei
Stephen Hines 6 years ago
parent 4a625453bf
commit 84eaf2f3b6

@ -141,7 +141,7 @@ static AuthorizationSet beginParams(const KeyAuthentication& auth,
LOG(DEBUG) << "Supplying auth token to Keymaster";
paramBuilder.Authorization(TAG_AUTH_TOKEN, blob2hidlVec(auth.token));
}
return paramBuilder;
return std::move(paramBuilder);
}
static bool readFileToString(const std::string& filename, std::string* result) {

Loading…
Cancel
Save