Mercurial > hg > orthanc
changeset 3762:1a346a4dc1b4
adding missing ORTHANC_OVERRIDE
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 16 Mar 2020 12:33:28 +0100 |
parents | 632cc0985276 |
children | 5ff5d5a0fd28 |
files | OrthancServer/ServerContext.h OrthancServer/ServerJobs/ArchiveJob.h |
diffstat | 2 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Mon Mar 16 12:14:25 2020 +0100 +++ b/OrthancServer/ServerContext.h Mon Mar 16 12:33:28 2020 +0100 @@ -168,11 +168,11 @@ void SaveJobsEngine(); - virtual void SignalJobSubmitted(const std::string& jobId); + virtual void SignalJobSubmitted(const std::string& jobId) ORTHANC_OVERRIDE; - virtual void SignalJobSuccess(const std::string& jobId); + virtual void SignalJobSuccess(const std::string& jobId) ORTHANC_OVERRIDE; - virtual void SignalJobFailure(const std::string& jobId); + virtual void SignalJobFailure(const std::string& jobId) ORTHANC_OVERRIDE; ServerIndex index_; IStorageArea& area_;
--- a/OrthancServer/ServerJobs/ArchiveJob.h Mon Mar 16 12:14:25 2020 +0100 +++ b/OrthancServer/ServerJobs/ArchiveJob.h Mon Mar 16 12:33:28 2020 +0100 @@ -89,9 +89,9 @@ void AddResource(const std::string& publicId); - virtual void Reset(); + virtual void Reset() ORTHANC_OVERRIDE; - virtual void Start(); + virtual void Start() ORTHANC_OVERRIDE; virtual JobStepResult Step(const std::string& jobId) ORTHANC_OVERRIDE; @@ -99,19 +99,19 @@ { } - virtual float GetProgress(); + virtual float GetProgress() ORTHANC_OVERRIDE; - virtual void GetJobType(std::string& target); + virtual void GetJobType(std::string& target) ORTHANC_OVERRIDE; - virtual void GetPublicContent(Json::Value& value); + virtual void GetPublicContent(Json::Value& value) ORTHANC_OVERRIDE; - virtual bool Serialize(Json::Value& value) + virtual bool Serialize(Json::Value& value) ORTHANC_OVERRIDE { return false; // Cannot serialize this kind of job } virtual bool GetOutput(std::string& output, MimeType& mime, - const std::string& key); + const std::string& key) ORTHANC_OVERRIDE; }; }