Use const HealthMetrics& parameter in update

Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
This commit is contained in:
Evan Tschannen 2019-03-02 08:17:20 -08:00 committed by GitHub
parent 841eb10af0
commit 3a91fb287b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ struct GetHealthMetricsReply
update(healthMetrics, true, true);
}
void update(HealthMetrics healthMetrics, bool detailedInput, bool detailedOutput)
void update(const HealthMetrics& healthMetrics, bool detailedInput, bool detailedOutput)
{
this->healthMetrics.update(healthMetrics, detailedInput, detailedOutput);
BinaryWriter bw(IncludeVersion());