diff OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.h @ 4205:d962a2996637

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 17:58:19 +0200
parents 05b8fd21089c
children 2ae905070221
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.h	Thu Sep 17 16:18:01 2020 +0200
+++ b/OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.h	Thu Sep 17 17:58:19 2020 +0200
@@ -45,15 +45,15 @@
     ServerContext&  context_;
 
   public:
-    OrthancJobUnserializer(ServerContext& context) :
+    explicit OrthancJobUnserializer(ServerContext& context) :
       context_(context)
     {
     }
 
-    virtual IJob* UnserializeJob(const Json::Value& value);
+    virtual IJob* UnserializeJob(const Json::Value& value) ORTHANC_OVERRIDE;
 
-    virtual IJobOperation* UnserializeOperation(const Json::Value& value);
+    virtual IJobOperation* UnserializeOperation(const Json::Value& value) ORTHANC_OVERRIDE;
 
-    virtual JobOperationValue* UnserializeValue(const Json::Value& value);
+    virtual JobOperationValue* UnserializeValue(const Json::Value& value) ORTHANC_OVERRIDE;
   };
 }