Move where appropriate
Clang-tidy-18 has new checks that can find more cases where we've
missed an opportunity to std::move.
Fix them.
Tested: Logging works, unit tests pass.
Change-Id: I0cf58204ce7265828693b787a7b3a16484c3d5e5
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/http/utility.hpp b/http/utility.hpp
index 47ddaf9..0476d73 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -439,7 +439,7 @@
};
inline bool readUrlSegments(boost::urls::url_view url,
- std::initializer_list<UrlSegment>&& segments)
+ std::initializer_list<UrlSegment> segments)
{
boost::urls::segments_view urlSegments = url.segments();