summaryrefslogtreecommitdiff
path: root/libadhocutil/cache.impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/cache.impl.h')
-rw-r--r--libadhocutil/cache.impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libadhocutil/cache.impl.h b/libadhocutil/cache.impl.h
index e26bf30..7ba5853 100644
--- a/libadhocutil/cache.impl.h
+++ b/libadhocutil/cache.impl.h
@@ -19,6 +19,7 @@ namespace AdHoc {
}
template<typename T, typename K>
+ // cppcheck-suppress passedByValue
ObjectCacheable<T, K>::ObjectCacheable(typename Cacheable<T, K>::Value t, const K & k, time_t vu) :
Cacheable<T, K>(k, vu), value(std::move(t))
{