Skip to content

Commit 31039cc

Browse files
theli-uasbiscigl
authored andcommitted
Remove redundant move
It's redundant as arguments are const. Fixes #3668
1 parent 84b74eb commit 31039cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aws-cpp-sdk-core/include/smithy/tracing/TracingUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ namespace smithy {
7575
auto before = std::chrono::steady_clock::now();
7676
auto returnValue = func();
7777
auto after = std::chrono::steady_clock::now();
78-
RecordExecutionDuration(before, after, std::move(metricName), meter, std::move(attributes), std::move(description));
78+
RecordExecutionDuration(before, after, metricName, meter, attributes, description);
7979
return returnValue;
8080
}
8181

@@ -152,4 +152,4 @@ namespace smithy {
152152
};
153153
}
154154
}
155-
}
155+
}

0 commit comments

Comments
 (0)