We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0dc0c70 + 8d1033e commit ee2c65cCopy full SHA for ee2c65c
src/mds/MetricsHandler.cc
@@ -368,7 +368,9 @@ std::chrono::steady_clock::now().time_since_epoch()).count());
368
auto& vec = subvolume_metrics_map[path];
369
370
dout(20) << " accumulating subv_metric " << payload.subvolume_metrics[i] << dendl;
371
- vec.emplace_back(std::move(payload.subvolume_metrics[i]));
+ // std::move of the const expression of the trivially-copyable type 'const value_type'
372
+ // (aka 'const AggregatedIOMetrics') has no effect; remove std::move()
373
+ vec.emplace_back(payload.subvolume_metrics[i]);
374
vec.back().time_stamp = now_ms;
375
}
376
0 commit comments