Skip to content

Commit

Permalink
Move the vector when setting ResourceData
Browse files Browse the repository at this point in the history
Summary: This was probably missed; just caught my eye while reading some code

Reviewed By: hanidamlaj

Differential Revision: D66898519

fbshipit-source-id: 6f66acabe4792b942dc578221dee27bd5044f6a7
  • Loading branch information
Utku Gürkan authored and facebook-github-bot committed Dec 13, 2024
1 parent a30e19f commit d959cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third-party/proxygen/src/proxygen/lib/stats/ResourceData.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ struct ResourceData : public PeriodicStatsDataBase {
cpuUtilPercentileConfigured_ = cpuUtilPercentileConfigured;
cpuRatioUtilPercentile_ = cpuRatioUtilPercentile;
cpuSoftIrqRatioUtil_ = cpuSoftIrqUsageRatio;
softIrqCpuCoreRatioUtils_ = softIrqCpuCoreRatioUtils;
softIrqCpuCoreRatioUtils_ = std::move(softIrqCpuCoreRatioUtils);
}

void setMemStats(uint64_t usedMemBytes,
Expand Down

0 comments on commit d959cb3

Please sign in to comment.