diff Common/EncryptionHelpers.h @ 153:6dd8bb916573

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 21 Jun 2024 14:29:22 +0200
parents 3c7e0374f28e
children
line wrap: on
line diff
--- a/Common/EncryptionHelpers.h	Fri Jun 21 11:22:57 2024 +0200
+++ b/Common/EncryptionHelpers.h	Fri Jun 21 14:29:22 2024 +0200
@@ -30,7 +30,7 @@
 class EncryptionException : public std::runtime_error
 {
 public:
-  EncryptionException(const std::string& what)
+  explicit EncryptionException(const std::string& what)
     : std::runtime_error(what)
   {
   }