diff Plugin/DecodedImageAdapter.h @ 197:0ef2d8b970ab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 23 Apr 2018 11:42:31 +0200
parents 993dd140bd30
children 2f27287c047c
line wrap: on
line diff
--- a/Plugin/DecodedImageAdapter.h	Fri Apr 20 14:23:34 2018 +0200
+++ b/Plugin/DecodedImageAdapter.h	Mon Apr 23 11:42:31 2018 +0200
@@ -61,7 +61,8 @@
     OrthancPluginContext* context_;
 
   public:
-    DecodedImageAdapter(OrthancPluginContext* context) : context_(context)
+    explicit DecodedImageAdapter(OrthancPluginContext* context) :
+      context_(context)
     {
     }