comparison OrthancServer/OrthancRestApi.cpp @ 663:95b4c6d89c42

fix for visual studio
author jodogne
date Wed, 06 Nov 2013 17:18:40 +0100
parents 08eca5d86aad
children 855adbdd75a6
comparison
equal deleted inserted replaced
662:70161eb45b5c 663:95b4c6d89c42
313 313
314 context.GetIndex().LogExportedResource(stripped, remote); 314 context.GetIndex().LogExportedResource(stripped, remote);
315 315
316 std::list<std::string> tmp; 316 std::list<std::string> tmp;
317 context.GetIndex().GetChildInstances(tmp, stripped); 317 context.GetIndex().GetChildInstances(tmp, stripped);
318 instances.merge(tmp); 318
319 assert(tmp.empty()); 319 for (std::list<std::string>::const_iterator
320 it = tmp.begin(); it != tmp.end(); ++it)
321 {
322 instances.push_back(*it);
323 }
320 } 324 }
321 } 325 }
322 else 326 else
323 { 327 {
324 // Neither a string, nor a list of strings. Bad request. 328 // Neither a string, nor a list of strings. Bad request.