Skip to content

Commit 0ba72ed

Browse files
Utku Gürkanfacebook-github-bot
authored andcommitted
Move the vector when setting ResourceData
Summary: This was probably missed; just caught my eye while reading some code Reviewed By: hanidamlaj Differential Revision: D66898519 fbshipit-source-id: 6f66acabe4792b942dc578221dee27bd5044f6a7
1 parent 852de61 commit 0ba72ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxygen/lib/stats/ResourceData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ struct ResourceData : public PeriodicStatsDataBase {
339339
cpuUtilPercentileConfigured_ = cpuUtilPercentileConfigured;
340340
cpuRatioUtilPercentile_ = cpuRatioUtilPercentile;
341341
cpuSoftIrqRatioUtil_ = cpuSoftIrqUsageRatio;
342-
softIrqCpuCoreRatioUtils_ = softIrqCpuCoreRatioUtils;
342+
softIrqCpuCoreRatioUtils_ = std::move(softIrqCpuCoreRatioUtils);
343343
}
344344

345345
void setMemStats(uint64_t usedMemBytes,

0 commit comments

Comments
 (0)