diff OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 4956:964bbf5cb365

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Mar 2022 11:48:47 +0100
parents 47d734fa30f6
children d6ed4c73c719
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPlugins.cpp	Wed Mar 23 11:44:40 2022 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPlugins.cpp	Wed Mar 23 11:48:47 2022 +0100
@@ -95,7 +95,7 @@
       std::vector<const char*>  items_;
 
     public:
-      PathHelper(const std::vector<std::string>& path)
+      explicit PathHelper(const std::vector<std::string>& path)
       {
         items_.resize(path.size());
         for (size_t i = 0; i < path.size(); i++)