comparison Core/DicomFormat/DicomMap.cpp @ 3653:468181e2f090

Fix issue #166 (CMake find_boost version is now broken with newer boost/cmake)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2020 15:23:22 +0100
parents 46cb00e4adbb
children cccd97333e3d 26c6d47467a9
comparison
equal deleted inserted replaced
3651:46cb00e4adbb 3653:468181e2f090
1365 if (source.type() != Json::objectValue) 1365 if (source.type() != Json::objectValue)
1366 { 1366 {
1367 throw OrthancException(ErrorCode_BadFileFormat); 1367 throw OrthancException(ErrorCode_BadFileFormat);
1368 } 1368 }
1369 1369
1370 Clear();
1371
1372 std::map<std::string, DicomTag2> mainTags; // TODO - Create a singleton to hold this map 1370 std::map<std::string, DicomTag2> mainTags; // TODO - Create a singleton to hold this map
1373 LoadMainDicomTags(mainTags, level); 1371 LoadMainDicomTags(mainTags, level);
1374 1372
1375 Json::Value::Members members = source.getMemberNames(); 1373 Json::Value::Members members = source.getMemberNames();
1376 for (size_t i = 0; i < members.size(); i++) 1374 for (size_t i = 0; i < members.size(); i++)