From 69b5f0b6579c6574a8fe68ab2a64208ec767db55 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Mar 2022 21:53:47 +0200 Subject: loplugin:constparams Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx | 2 +- ucb/source/ucp/webdav-curl/DAVSessionFactory.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx b/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx index b89928b5d02b..1c1a220265bf 100644 --- a/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx +++ b/ucb/source/ucp/webdav-curl/DAVSessionFactory.cxx @@ -76,7 +76,7 @@ rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession( } } -void DAVSessionFactory::releaseElement( DAVSession * pElement ) +void DAVSessionFactory::releaseElement( const DAVSession * pElement ) { assert( pElement ); std::unique_lock aGuard( m_aMutex ); diff --git a/ucb/source/ucp/webdav-curl/DAVSessionFactory.hxx b/ucb/source/ucp/webdav-curl/DAVSessionFactory.hxx index b931e1b4a8ec..2699035ebbe2 100644 --- a/ucb/source/ucp/webdav-curl/DAVSessionFactory.hxx +++ b/ucb/source/ucp/webdav-curl/DAVSessionFactory.hxx @@ -64,7 +64,7 @@ private: std::mutex m_aMutex; std::unique_ptr m_xProxyDecider; - void releaseElement(DAVSession* pElement); + void releaseElement(const DAVSession* pElement); friend class DAVSession; }; -- cgit v1.2.3