summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 11:47:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 14:51:56 +0200
commitb09deb075319c1c19f91e3a6f64429b61682ebf8 (patch)
tree9e73d1e63092083a337a4ddf1dfe962b4f6ef4dc /include/registry
parent587d6e13df7bb9c8f78ce605ebb8f8fd34b85a2c (diff)
loplugin:constparams handle constructors
had to change the structure of the plugin considerably, was too messy to structure it to do the calculations on a per-function basis Change-Id: I4edee7735f726101105c607368124a08dba21086 Reviewed-on: https://gerrit.libreoffice.org/40516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index e590c2354dd7..f8906668e253 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -554,7 +554,7 @@ public:
This constructor is internal only.
*/
- inline RegistryKey(Registry& registry,
+ inline RegistryKey(Registry const & registry,
RegKeyHandle hKey);
protected:
@@ -645,7 +645,7 @@ inline RegistryKey::RegistryKey()
{ }
/// @cond INTERNAL
-inline RegistryKey::RegistryKey(Registry& registry, RegKeyHandle hKey)
+inline RegistryKey::RegistryKey(Registry const & registry, RegKeyHandle hKey)
: m_registry(registry)
, m_hImpl(hKey)
{