Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancConfiguration.cpp @ 4204:318c16cfccab
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 16:18:01 +0200 |
parents | 1c9c2c41c015 |
children | a20928107a90 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp Thu Sep 17 15:01:31 2020 +0200 +++ b/OrthancServer/Sources/OrthancConfiguration.cpp Thu Sep 17 16:18:01 2020 +0200 @@ -917,7 +917,7 @@ void OrthancConfiguration::DefaultExtractDicomSummary(DicomMap& target, - ParsedDicomFile& dicom) + const ParsedDicomFile& dicom) { std::set<DicomTag> ignoreTagLength; dicom.ExtractDicomSummary(target, ORTHANC_MAXIMUM_TAG_LENGTH, ignoreTagLength); @@ -925,7 +925,7 @@ void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, - ParsedDicomFile& dicom) + const ParsedDicomFile& dicom) { std::set<DicomTag> ignoreTagLength; DefaultDicomDatasetToJson(target, dicom, ignoreTagLength); @@ -933,7 +933,7 @@ void OrthancConfiguration::DefaultDicomDatasetToJson(Json::Value& target, - ParsedDicomFile& dicom, + const ParsedDicomFile& dicom, const std::set<DicomTag>& ignoreTagLength) { dicom.DatasetToJson(target, DicomToJsonFormat_Full, DicomToJsonFlags_Default, @@ -942,9 +942,8 @@ void OrthancConfiguration::DefaultDicomHeaderToJson(Json::Value& target, - ParsedDicomFile& dicom) + const ParsedDicomFile& dicom) { - std::set<DicomTag> ignoreTagLength; dicom.HeaderToJson(target, DicomToJsonFormat_Full); } }