From e2e0a68ae32c1f63cc9289244822fbdfca4eca17 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 22 Dec 2025 11:42:22 -0800 Subject: [PATCH] Remove redundant move It's redundant as arguments are const. Fixes #3668 --- src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h b/src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h index e411d863eb9..c3b8009cb18 100644 --- a/src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h +++ b/src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h @@ -75,7 +75,7 @@ namespace smithy { auto before = std::chrono::steady_clock::now(); auto returnValue = func(); auto after = std::chrono::steady_clock::now(); - RecordExecutionDuration(before, after, std::move(metricName), meter, std::move(attributes), std::move(description)); + RecordExecutionDuration(before, after, metricName, meter, attributes, description); return returnValue; } @@ -152,4 +152,4 @@ namespace smithy { }; } } -} \ No newline at end of file +}