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 +}