Mercurial > hg > orthanc
diff UnitTestsSources/FromDcmtkTests.cpp @ 3767:c6658187e4b1
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Mar 2020 14:46:06 +0100 |
parents | 113a7b994a12 |
children | 66e18aad0654 ab9a0d1e0cc1 |
line wrap: on
line diff
--- a/UnitTestsSources/FromDcmtkTests.cpp Mon Mar 16 14:12:20 2020 +0100 +++ b/UnitTestsSources/FromDcmtkTests.cpp Tue Mar 17 14:46:06 2020 +0100 @@ -2215,7 +2215,7 @@ //SystemToolbox::ReadFile(s, "/home/jodogne/DICOM/Alain.dcm"); SystemToolbox::ReadFile(s, "/home/jodogne/Subversion/orthanc-tests/Database/Brainix/Epi/IM-0001-0002.dcm"); - std::auto_ptr<DcmFileFormat> dicom(FromDcmtkBridge::LoadFromMemoryBuffer(s.c_str(), s.size())); + std::unique_ptr<DcmFileFormat> dicom(FromDcmtkBridge::LoadFromMemoryBuffer(s.c_str(), s.size())); // less /home/jodogne/Downloads/dcmtk-3.6.4/dcmdata/include/dcmtk/dcmdata/dcxfer.h printf(">> %d\n", dicom->getDataset()->getOriginalXfer()); // => 4 == EXS_JPEGProcess1