diff Resources/Orthanc/Core/OrthancException.h @ 30:1099a148f7e5

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