diff OrthancFramework/Sources/Images/ImageAccessor.cpp @ 4201:2d5209153b32

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 08:18:28 +0200
parents bf7b9edf6b81
children 0034f855c023
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/ImageAccessor.cpp	Wed Sep 16 20:53:31 2020 +0200
+++ b/OrthancFramework/Sources/Images/ImageAccessor.cpp	Thu Sep 17 08:18:28 2020 +0200
@@ -92,7 +92,7 @@
   }
 
 
-  void* ImageAccessor::GetBuffer() const
+  void* ImageAccessor::GetBuffer()
   {
     if (readOnly_)
     {
@@ -117,7 +117,7 @@
   }
 
 
-  void* ImageAccessor::GetRow(unsigned int y) const
+  void* ImageAccessor::GetRow(unsigned int y)
   {
     if (readOnly_)
     {