diff --git a/src/v/resource_mgmt/memory_sampling.cc b/src/v/resource_mgmt/memory_sampling.cc index 3686b00f0bf37..63783a827844b 100644 --- a/src/v/resource_mgmt/memory_sampling.cc +++ b/src/v/resource_mgmt/memory_sampling.cc @@ -218,5 +218,5 @@ memory_sampling::get_sampled_memory_profiles(std::optional shard_id) { }); } - co_return std::move(resp); + co_return resp; }