comparison OrthancStone/Sources/Toolbox/ParsedDicomCache.h @ 1571:85e117739eca

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 17:46:39 +0200
parents 244ad1e4e76a
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1570:9a04f42098a3 1571:85e117739eca
35 const std::string& bucketKey); 35 const std::string& bucketKey);
36 36
37 Orthanc::MemoryObjectCache cache_; 37 Orthanc::MemoryObjectCache cache_;
38 38
39 public: 39 public:
40 ParsedDicomCache(size_t size) 40 explicit ParsedDicomCache(size_t size)
41 { 41 {
42 cache_.SetMaximumSize(size); 42 cache_.SetMaximumSize(size);
43 } 43 }
44 44
45 void Invalidate(unsigned int bucket, 45 void Invalidate(unsigned int bucket,