diff Framework/Oracle/GenericOracleRunner.cpp @ 1150:7aad0984d38a broker

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Nov 2019 12:38:15 +0100
parents 2da8b4d6f8c1
children 48befc2bf66d
line wrap: on
line diff
--- a/Framework/Oracle/GenericOracleRunner.cpp	Fri Nov 15 12:35:35 2019 +0100
+++ b/Framework/Oracle/GenericOracleRunner.cpp	Fri Nov 15 12:38:15 2019 +0100
@@ -352,12 +352,12 @@
     private:
       boost::weak_ptr<IObserver> receiver_;
       IMessageEmitter&           emitter_;
-      boost::shared_ptr<ParsedDicomFileCache>  cache_;
+      boost::shared_ptr<ParsedDicomCache>  cache_;
 
     public:
       DicomHandlerWithCache(boost::weak_ptr<IObserver> receiver,
                             IMessageEmitter& emitter,
-                            boost::shared_ptr<ParsedDicomFileCache> cache) :
+                            boost::shared_ptr<ParsedDicomCache> cache) :
         receiver_(receiver),
         emitter_(emitter),
         cache_(cache)
@@ -397,7 +397,7 @@
   
   static void RunInternal(boost::weak_ptr<IObserver> receiver,
                           IMessageEmitter& emitter,
-                          boost::shared_ptr<ParsedDicomFileCache> cache,
+                          boost::shared_ptr<ParsedDicomCache> cache,
                           const std::string& root,
                           const ParseDicomFileCommand& command)
   {
@@ -407,7 +407,7 @@
     if (cache.get())
     {
       {
-        ParsedDicomFileCache::Reader reader(*cache, path);
+        ParsedDicomCache::Reader reader(*cache, path);
         if (reader.IsValid() &&
             (!command.IsPixelDataIncluded() ||
              reader.HasPixelData()))