Use std::move() to prevent unnecessary copying. [DO NOT MERGE]
Bug: http://b/110779387 Test: Builds with new toolchain. Change-Id: I735a3ecda11a662edaddbe21c36433a91bb8a7f1
This commit is contained in:
parent
4a625453bf
commit
84eaf2f3b6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue