Mercurial > hg > orthanc-webviewer
comparison Plugin/ViewerPrefetchPolicy.h @ 197:0ef2d8b970ab
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Apr 2018 11:42:31 +0200 |
parents | 81f16c5667ba |
children | 2f27287c047c |
comparison
equal
deleted
inserted
replaced
196:b83fe581f6ae | 197:0ef2d8b970ab |
---|---|
40 void ApplyInstance(std::list<CacheIndex>& toPrefetch, | 40 void ApplyInstance(std::list<CacheIndex>& toPrefetch, |
41 CacheScheduler& cache, | 41 CacheScheduler& cache, |
42 const std::string& path); | 42 const std::string& path); |
43 | 43 |
44 public: | 44 public: |
45 ViewerPrefetchPolicy(OrthancPluginContext* context) : context_(context) | 45 explicit ViewerPrefetchPolicy(OrthancPluginContext* context) : |
46 context_(context) | |
46 { | 47 { |
47 } | 48 } |
48 | 49 |
49 virtual void Apply(std::list<CacheIndex>& toPrefetch, | 50 virtual void Apply(std::list<CacheIndex>& toPrefetch, |
50 CacheScheduler& cache, | 51 CacheScheduler& cache, |