summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-19 09:20:35 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 08:33:21 +0000
commitb3ff2f450f2e20af8e8f77515ad0615106859292 (patch)
tree398bab17f6891e50dde504986a60989173c76ac4 /stoc
parentd4d2fc24793960a07275e49706b90928b4a0c764 (diff)
loplugin:unusedmethods in slideshow to svtools
Change-Id: Icf0056e13c88d7d347e668adaeddd4ed72af85cf Reviewed-on: https://gerrit.libreoffice.org/25141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/security/lru_cache.h15
1 files changed, 0 insertions, 15 deletions
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.
*/
@@ -112,16 +107,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 )
, m_block( nullptr )