diff OrthancServer/Search/Compatibility/SetOfResources.cpp @ 3084:195ba4cbac3f db-changes

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Jan 2019 16:42:55 +0100
parents ce272138f15e
children c829758b9ca0
line wrap: on
line diff
--- a/OrthancServer/Search/Compatibility/SetOfResources.cpp	Fri Jan 04 15:52:19 2019 +0100
+++ b/OrthancServer/Search/Compatibility/SetOfResources.cpp	Fri Jan 04 16:42:55 2019 +0100
@@ -138,14 +138,15 @@
     }
 
 
-    void SetOfResources::Flatten(std::list<int64_t>& result)
+    void SetOfResources::Flatten(CompatibilityDatabaseWrapper& compatibility,
+                                 std::list<int64_t>& result)
     {
       result.clear();
       
       if (resources_.get() == NULL)
       {
         // All the resources of this level are part of the filter
-        database_.GetAllInternalIds(result, level_);
+        compatibility.GetAllInternalIds(result, level_);
       }
       else
       {