diff Resources/Orthanc/Core/OrthancException.h @ 82:5b127ab0080b

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 17:01:34 +0100
parents 7a3853d51c45
children ff0ef01c332c
line wrap: on
line diff
--- a/Resources/Orthanc/Core/OrthancException.h	Tue Nov 29 13:31:23 2016 +0100
+++ b/Resources/Orthanc/Core/OrthancException.h	Wed Dec 14 17:01:34 2016 +0100
@@ -45,7 +45,7 @@
     HttpStatus httpStatus_;
 
   public:
-    OrthancException(ErrorCode errorCode) : 
+    explicit OrthancException(ErrorCode errorCode) : 
       errorCode_(errorCode),
       httpStatus_(ConvertErrorCodeToHttpStatus(errorCode))
     {