diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /store | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storcach.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/storcach.hxx b/store/source/storcach.hxx index 3f781728afe9..6778fc31bb17 100644 --- a/store/source/storcach.hxx +++ b/store/source/storcach.hxx @@ -59,11 +59,11 @@ class PageCache : size_t m_nHit; size_t m_nMissed; - static inline int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m) + static int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m) { return static_cast<int>((((a) + ((a) >> (s)) + ((a) >> ((s) << 1))) >> (q)) & (m)); } - inline int hash_index_Impl (sal_uInt32 nOffset) + int hash_index_Impl (sal_uInt32 nOffset) { return hash_Impl(nOffset, m_hash_shift, m_page_shift, m_hash_size - 1); } |