comparison 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
comparison
equal deleted inserted replaced
3033:5da6d1063d8f 3034:54e422fe31ce
224 return false; 224 return false;
225 } 225 }
226 226
227 const std::string& content = value.GetContent(); 227 const std::string& content = value.GetContent();
228 228
229 std::list<std::string> ids; 229 std::vector<std::string> ids;
230 context_.GetIndex().LookupIdentifierExact(ids, level, tag, content); 230 context_.GetIndex().LookupIdentifierExact(ids, level, tag, content);
231 231
232 if (ids.size() != 1) 232 if (ids.size() != 1)
233 { 233 {
234 return false; 234 return false;
235 } 235 }
236 else 236 else
237 { 237 {
238 publicId = ids.front(); 238 publicId = ids[0];
239 return true; 239 return true;
240 } 240 }
241 } 241 }
242 242
243 243