diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:12:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:08 +0200 |
commit | 606dd77518319b3a0b6b547c8c6b10cd994e1ab2 (patch) | |
tree | 8788e7a5ab39354fa2d8fe4c0069ecc354350d38 /registry | |
parent | ae75b0512fd7042d2f12ca66b136564bdf84b37a (diff) |
Improved loplugin:cstylecast to reference types: registry
Change-Id: I94070f7712604bcd4d118b94cb0f85e0146a9db1
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 21a15d4c9f69..ab517844801b 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -839,7 +839,7 @@ RegError ORegistry::deleteSubkeysAndValues(ORegKey* pKey) if (sFullPath.getLength() > 1) sFullPath += ROOT; - if (((OStoreFile&)pKey->getStoreFile()).remove(sFullPath, keyName)) + if (const_cast<OStoreFile&>(pKey->getStoreFile()).remove(sFullPath, keyName)) { return RegError::DELETE_VALUE_FAILED; } |