diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:10:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:04 +0200 |
commit | 3631ef8ceaa72525f84226cb5017dadea2c2c414 (patch) | |
tree | 5d50ad53fc50d32a284dcd40df7254c749073ce6 /store | |
parent | 31c3ca9fef4af2773668d4c7703bd851e012c55a (diff) |
Improved loplugin:cstylecast to reference types: store
Change-Id: I78213cb2b8812ebdd1354c045318d081e4197934
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storbios.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx index 336a37ff0515..a563f5b55a12 100644 --- a/store/source/storbios.hxx +++ b/store/source/storbios.hxx @@ -178,7 +178,7 @@ private: inline OStorePageBIOS::operator osl::Mutex& (void) const { - return (osl::Mutex&)m_aMutex; + return const_cast<osl::Mutex&>(m_aMutex); } inline bool OStorePageBIOS::isWriteable() const { |