Merge "Use std::move() to prevent unnecessary copying. [DO NOT MERGE]"
This commit is contained in:
commit
9b18b764bc
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