From 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 3 Mar 2017 20:57:02 +0100 Subject: 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 Reviewed-by: Stephan Bergmann --- store/source/storcach.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store') 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((((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); } -- cgit