diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-12 09:22:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-06-12 11:29:04 +0200 |
commit | a69de8695755f4ae4d12358acb40c7cffcf1b84e (patch) | |
tree | ad930380db5df46b259987f99bd90a5584bcb390 | |
parent | 7aa1dcc682a54890be2d23a1778758e1ec5b00fc (diff) |
Remove redundant reinterpret_cast
Change-Id: I10c95f0c7dd3db680b54cb8d636570cfc1298b37
Reviewed-on: https://gerrit.libreoffice.org/55661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | store/source/storbios.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 1a34da60d420..fa76b5cc345d 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -460,7 +460,6 @@ protected: * OStorePageBIOS::AceCache implementation. * *======================================================================*/ -extern "C" typedef int (* ace_constructor_type)(void*,void*); OStorePageBIOS::AceCache & OStorePageBIOS::AceCache::get() @@ -475,7 +474,7 @@ OStorePageBIOS::AceCache::AceCache() "store_ace_cache", sizeof (OStorePageBIOS::Ace), 0, // objalign - reinterpret_cast<ace_constructor_type>( OStorePageBIOS::Ace::constructor), + OStorePageBIOS::Ace::constructor, nullptr, // destructor, nullptr, // reclaim, nullptr, // userarg, |