From b3ff2f450f2e20af8e8f77515ad0615106859292 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 May 2016 09:20:35 +0200 Subject: loplugin:unusedmethods in slideshow to svtools Change-Id: Icf0056e13c88d7d347e668adaeddd4ed72af85cf Reviewed-on: https://gerrit.libreoffice.org/25141 Tested-by: Jenkins Reviewed-by: Noel Grandin --- stoc/source/security/lru_cache.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'stoc') diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h index b2c384706a86..78523c52d3d4 100644 --- a/stoc/source/security/lru_cache.h +++ b/stoc/source/security/lru_cache.h @@ -58,11 +58,6 @@ public: /** Default Ctor. Does not cache. */ inline lru_cache(); - /** Ctor. - - @param size number of elements to be cached; default param set to 128 - */ - explicit inline lru_cache( ::std::size_t size ); /** Destructor: releases all cached elements and keys. */ @@ -111,16 +106,6 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::setSize( } } -template< typename t_key, typename t_val, typename t_hashKey, typename t_equalKey > -inline lru_cache< t_key, t_val, t_hashKey, t_equalKey >::lru_cache( - ::std::size_t size ) - : m_size( 0 ) - , m_block( nullptr ) - , m_tail( nullptr ) -{ - setSize( size ); -} - template< typename t_key, typename t_val, typename t_hashKey, typename t_equalKey > inline lru_cache< t_key, t_val, t_hashKey, t_equalKey >::lru_cache() : m_size( 0 ) -- cgit