diff OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp @ 4201:2d5209153b32

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 08:18:28 +0200
parents 7112a8af0b63
children 4d42408da117
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp	Wed Sep 16 20:53:31 2020 +0200
+++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp	Thu Sep 17 08:18:28 2020 +0200
@@ -346,7 +346,7 @@
 
 
   template <typename PixelType>
-  static void CopyPixels(const ImageAccessor& target,
+  static void CopyPixels(ImageAccessor& target,
                          const DicomIntegerPixelAccessor& source)
   {
     // WARNING - "::min()" should be replaced by "::lowest()" if