Fixes: https://tracker.ceph.com/issues/73430
Signed-off-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
auto& vec = subvolume_metrics_map[path];
dout(20) << " accumulating subv_metric " << payload.subvolume_metrics[i] << dendl;
- vec.emplace_back(std::move(payload.subvolume_metrics[i]));
+ // std::move of the const expression of the trivially-copyable type 'const value_type'
+ // (aka 'const AggregatedIOMetrics') has no effect; remove std::move()
+ vec.emplace_back(payload.subvolume_metrics[i]);
vec.back().time_stamp = now_ms;
}
}