Mercurial > hg > orthanc
diff OrthancServer/OrthancMoveRequestHandler.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 | 6896a7c1cbe2 |
children | ce272138f15e |
line wrap: on
line diff
--- a/OrthancServer/OrthancMoveRequestHandler.cpp Wed Dec 19 13:58:28 2018 +0100 +++ b/OrthancServer/OrthancMoveRequestHandler.cpp Wed Dec 19 14:20:11 2018 +0100 @@ -226,7 +226,7 @@ const std::string& content = value.GetContent(); - std::list<std::string> ids; + std::vector<std::string> ids; context_.GetIndex().LookupIdentifierExact(ids, level, tag, content); if (ids.size() != 1) @@ -235,7 +235,7 @@ } else { - publicId = ids.front(); + publicId = ids[0]; return true; } }