summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-06 16:49:55 +0200
committerNoel Grandin <noel@peralex.com>2015-08-07 07:20:24 +0200
commit6343754e310a589cb49e2a1da0cd68472571179d (patch)
treea0915b9679f3422a6abda3fb2d6917df4edb30f5 /stoc
parentdea885f80a80c6a5839ee5dbf8521487186a9522 (diff)
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/corereflection/lrucache.hxx2
-rw-r--r--stoc/source/security/lru_cache.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/corereflection/lrucache.hxx b/stoc/source/corereflection/lrucache.hxx
index 7fbcb9db93e7..5a2c4cf34154 100644
--- a/stoc/source/corereflection/lrucache.hxx
+++ b/stoc/source/corereflection/lrucache.hxx
@@ -58,7 +58,7 @@ public:
<br>
@param nCachedElements number of elements to be cached; default param set to 128
*/
- inline LRU_Cache( sal_Int32 nCachedElements = 128 );
+ explicit inline LRU_Cache( sal_Int32 nCachedElements = 128 );
/** Destructor: releases all cached elements and keys.
<br>
*/
diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h
index 4a40792df073..3ecf9905f251 100644
--- a/stoc/source/security/lru_cache.h
+++ b/stoc/source/security/lru_cache.h
@@ -62,7 +62,7 @@ public:
@param size number of elements to be cached; default param set to 128
*/
- inline lru_cache( ::std::size_t size );
+ explicit inline lru_cache( ::std::size_t size );
/** Destructor: releases all cached elements and keys.
*/