diff OrthancServer/OrthancFindRequestHandler.cpp @ 1354:3dd494f201a1

ResourceFinder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 May 2015 12:17:35 +0200
parents 911a1ad5ebe8
children 94ffb597d297
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Tue May 12 18:27:14 2015 +0200
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Wed May 13 12:17:35 2015 +0200
@@ -432,12 +432,7 @@
         }
         else
         {
-          Json::Value tmp;
-          index_.GetAllUuids(tmp, level_);
-          for (Json::Value::ArrayIndex i = 0; i < tmp.size(); i++)
-          {
-            resources.push_back(tmp[i].asString());
-          }
+          index_.GetAllUuids(resources, level_);
         }
       }