Kaydet (Commit) 606dd775 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:cstylecast to reference types: registry

Change-Id: I94070f7712604bcd4d118b94cb0f85e0146a9db1
üst ae75b051
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment