diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-01 09:09:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-01 13:05:05 +0200 |
commit | b4b4c129e9f00189978cd7b71fd74d0dca4c9ebc (patch) | |
tree | 1afab2d8c7eee21866030fd498faa53af6f9be66 /ucb/source/ucp/webdav-curl/PropfindCache.cxx | |
parent | 915f3959fe6b3e756b9797a9222b95d9b8c3d293 (diff) |
clang-tidy modernize-pass-by-value in ucb
Change-Id: I641d05e360c3208845a2fa6721ac8ba1ad0f3309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137667
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/webdav-curl/PropfindCache.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-curl/PropfindCache.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-curl/PropfindCache.cxx b/ucb/source/ucp/webdav-curl/PropfindCache.cxx index 7196bd791d9c..da8499e1526d 100644 --- a/ucb/source/ucp/webdav-curl/PropfindCache.cxx +++ b/ucb/source/ucp/webdav-curl/PropfindCache.cxx @@ -8,6 +8,8 @@ */ #include <osl/time.h> + +#include <utility> #include "PropfindCache.hxx" namespace http_dav_ucp @@ -22,9 +24,9 @@ namespace http_dav_ucp { } - PropertyNames::PropertyNames( const OUString& rURL ) : + PropertyNames::PropertyNames( OUString aURL ) : m_nStaleTime( 0 ), - m_sURL( rURL ), + m_sURL(std::move( aURL )), m_aPropertiesNames() { } |