diff Framework/PostgreSQL/PostgreSQLParameters.h @ 186:6fe74f9a516e

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Dec 2020 15:05:19 +0100
parents 063aa53b5917
children 3236894320d6
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLParameters.h	Wed Dec 16 13:59:17 2020 +0100
+++ b/Framework/PostgreSQL/PostgreSQLParameters.h	Wed Dec 16 15:05:19 2020 +0100
@@ -48,7 +48,7 @@
   public:
     PostgreSQLParameters();
 
-    PostgreSQLParameters(const OrthancPlugins::OrthancConfiguration& configuration);
+    explicit PostgreSQLParameters(const OrthancPlugins::OrthancConfiguration& configuration);
 
     void SetConnectionUri(const std::string& uri);