Skip to content

Commit

Permalink
Update sdk/src/metrics/state/temporal_metric_storage.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Ehsan Saei <71217171+esigo@users.noreply.github.com>
  • Loading branch information
lalitb and esigo authored May 3, 2022
1 parent 9dcaf1a commit aafa07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/metrics/state/temporal_metric_storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bool TemporalMetricStorage::buildMetrics(CollectorHandle *collector,
auto agg = merged_metrics->Get(attributes);
if (agg)
{
merged_metrics->Set(attributes, std::move(agg->Merge(aggregation)));
merged_metrics->Set(attributes, agg->Merge(aggregation));
}
else
{
Expand Down

0 comments on commit aafa07d

Please sign in to comment.