Use const HealthMetrics& parameter in update
Co-Authored-By: tclinken <trevorclinkenbeard@gmail.com>
This commit is contained in:
parent
841eb10af0
commit
3a91fb287b
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue