From 20498db4a336a0fe2e365707618db6a0fb382434 Mon Sep 17 00:00:00 2001 From: Stephan Dollberg Date: Fri, 26 May 2023 10:22:40 +0100 Subject: [PATCH] SQUASH: remove unnecessary move --- src/v/resource_mgmt/memory_sampling.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }