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

gugelfrei
Treehugger Robot 6 years ago committed by Gerrit Code Review
commit 9b18b764bc

@ -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