changeset 4133:36c30a95bc3f

cppcheck on OrthancPluginCppWrapper.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jul 2020 14:25:11 +0200
parents 298216fce500
children 2c54cc9a712f
files OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Wed Jul 08 13:30:25 2020 +0200
+++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Wed Jul 08 14:25:11 2020 +0200
@@ -1158,9 +1158,9 @@
     
   public:
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 6, 1)    
-    DicomInstance(const OrthancPluginDicomInstance* instance);
+    explicit DicomInstance(const OrthancPluginDicomInstance* instance);
 #else
-    DicomInstance(OrthancPluginDicomInstance* instance);
+    explicit DicomInstance(OrthancPluginDicomInstance* instance);
 #endif
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0)