diff OrthancFramework/Sources/DicomFormat/DicomStreamReader.h @ 4223:3d6f14a05db1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2020 16:25:48 +0200
parents 7461f98c23a0
children 38d446c9ee1d
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomStreamReader.h	Wed Sep 30 15:53:17 2020 +0200
+++ b/OrthancFramework/Sources/DicomFormat/DicomStreamReader.h	Wed Sep 30 16:25:48 2020 +0200
@@ -104,7 +104,7 @@
                             const std::string& block);
     
   public:
-    DicomStreamReader(std::istream& stream);
+    explicit DicomStreamReader(std::istream& stream);
 
     /**
      * Consume all the available bytes from the input stream, until