Mercurial > hg > orthanc
diff OrthancServer/ServerContext.cpp @ 2898:e5e3253a1164
DicomInstanceToStore::GetHasher()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Oct 2018 11:44:17 +0200 |
parents | a27b0e9a3fd9 |
children | a80ba85d89e6 |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp Thu Oct 18 10:53:22 2018 +0200 +++ b/OrthancServer/ServerContext.cpp Thu Oct 18 11:44:17 2018 +0200 @@ -316,10 +316,7 @@ { StorageAccessor accessor(area_); - { - DicomInstanceHasher hasher(dicom.GetSummary()); - resultPublicId = hasher.HashInstance(); - } + resultPublicId = dicom.GetHasher().HashInstance(); Json::Value simplifiedTags; ServerToolbox::SimplifyTags(simplifiedTags, dicom.GetJson(), DicomToJsonFormat_Human);