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

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2020 16:25:48 +0200
parents 92a21efa5c96
children 38d446c9ee1d
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/StreamBlockReader.h	Wed Sep 30 15:53:17 2020 +0200
+++ b/OrthancFramework/Sources/DicomFormat/StreamBlockReader.h	Wed Sep 30 16:25:48 2020 +0200
@@ -43,7 +43,7 @@
     uint64_t       processedBytes_;
 
   public:
-    StreamBlockReader(std::istream& stream);
+    explicit StreamBlockReader(std::istream& stream);
 
     /**
      * Schedule the size of the next block to be extracted from the