comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp @ 5175:48005e522bd6

start fixing thread safety issues with DicomMap
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Mar 2023 19:00:33 +0100
parents e95fadefeb72
children 0ea402b4d901
comparison
equal deleted inserted replaced
5174:d75af1cde602 5175:48005e522bd6
360 } 360 }
361 } 361 }
362 } 362 }
363 363
364 { 364 {
365 const std::set<DicomTag>& tags = DicomMap::GetMainDicomTags(level); 365 std::set<DicomTag> tags;
366 DicomMap::GetMainDicomTags(tags, level);
366 367
367 for (std::set<DicomTag>::const_iterator 368 for (std::set<DicomTag>::const_iterator
368 tag = tags.begin(); tag != tags.end(); ++tag) 369 tag = tags.begin(); tag != tags.end(); ++tag)
369 { 370 {
370 if (registry_.find(*tag) == registry_.end()) 371 if (registry_.find(*tag) == registry_.end())