diff OrthancServer/Sources/OrthancMoveRequestHandler.h @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents 05b8fd21089c
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancMoveRequestHandler.h	Thu Sep 17 15:01:31 2020 +0200
+++ b/OrthancServer/Sources/OrthancMoveRequestHandler.h	Thu Sep 17 16:18:01 2020 +0200
@@ -32,6 +32,7 @@
 
 #pragma once
 
+#include "../../OrthancFramework/Sources/Compatibility.h"  // For ORTHANC_OVERRIDE
 #include "../../OrthancFramework/Sources/DicomNetworking/IMoveRequestHandler.h"
 
 namespace Orthanc
@@ -48,8 +49,8 @@
                            const DicomMap& input);
 
   public:
-    OrthancMoveRequestHandler(ServerContext& context) :
-    context_(context)
+    explicit OrthancMoveRequestHandler(ServerContext& context) :
+      context_(context)
     {
     }
 
@@ -58,6 +59,6 @@
                                          const std::string& originatorIp,
                                          const std::string& originatorAet,
                                          const std::string& calledAet,
-                                         uint16_t originatorId);
+                                         uint16_t originatorId) ORTHANC_OVERRIDE;
   };
 }