diff Core/OrthancException.h @ 2223:29689b30f9ae

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Dec 2016 15:28:05 +0100
parents b1291df2f780
children a3a65de1840f
line wrap: on
line diff
--- a/Core/OrthancException.h	Tue Dec 13 14:34:33 2016 +0100
+++ b/Core/OrthancException.h	Tue Dec 13 15:28:05 2016 +0100
@@ -45,7 +45,7 @@
     HttpStatus httpStatus_;
 
   public:
-    OrthancException(ErrorCode errorCode) : 
+    explicit OrthancException(ErrorCode errorCode) : 
       errorCode_(errorCode),
       httpStatus_(ConvertErrorCodeToHttpStatus(errorCode))
     {