dbaccess/source/core/api/HelperCollections.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d5f53a97c9468a0dbe31212053c5686afd8450d4 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Nov 10 18:37:11 2022 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 11 11:12:27 2022 +0100 Drop a counterproductive const& ...that was apparently left by accident by c7f8a54e05dab430cf2f5b3e1fa90e729c7a5601 "loplugin:moveparam in dbaccess", thwarting the use of std::move here. (I came across this code with an upcoming loplugin:constmove that flags suspicious uses of std::move involving const-qualified types.) Change-Id: I58cb6fc938efc470d6be6417d2dadd77989f1241 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142559 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/dbaccess/source/core/api/HelperCollections.hxx b/dbaccess/source/core/api/HelperCollections.hxx index 050b4a23fb3e..b7f69b8bac96 100644 --- a/dbaccess/source/core/api/HelperCollections.hxx +++ b/dbaccess/source/core/api/HelperCollections.hxx @@ -83,7 +83,7 @@ namespace dbaccess return nullptr; } public: - OPrivateTables( const OSQLTables& _rTables, + OPrivateTables( OSQLTables _rTables, bool _bCase, ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex,