Mercurial > hg > orthanc
diff Plugins/Samples/GdcmDecoder/GdcmDecoderCache.cpp @ 1836:2faa2abbf311
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 17:40:25 +0100 |
parents | b1a6f49b21dd |
children | fbc5522023aa |
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.cpp Fri Nov 27 12:54:54 2015 +0100 +++ b/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.cpp Fri Nov 27 17:40:25 2015 +0100 @@ -83,7 +83,7 @@ // This is not the same image std::auto_ptr<GdcmImageDecoder> decoder(new GdcmImageDecoder(dicom, size)); - OrthancImageWrapper image(context, decoder->Decode(context, frameIndex)); + OrthancImageWrapper image(context, *decoder, frameIndex); { // Cache the newly created decoder for further use