diff Plugins/Engine/OrthancPlugins.cpp @ 3034:54e422fe31ce db-changes

moving LookupResource to graveyard
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Dec 2018 14:20:11 +0100
parents db8f360fcb41
children ce272138f15e
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Wed Dec 19 13:58:28 2018 +0100
+++ b/Plugins/Engine/OrthancPlugins.cpp	Wed Dec 19 14:20:11 2018 +0100
@@ -1644,7 +1644,7 @@
         throw OrthancException(ErrorCode_InternalError);
     }
 
-    std::list<std::string> result;
+    std::vector<std::string> result;
 
     {
       PImpl::ServerContextLock lock(*pimpl_);
@@ -1653,7 +1653,7 @@
 
     if (result.size() == 1)
     {
-      *p.result = CopyString(result.front());
+      *p.result = CopyString(result[0]);
     }
     else
     {