# HG changeset patch # User Sebastien Jodogne # Date 1603125858 -7200 # Node ID b7a495d2b39edd215aa8eb711fba25c03225f017 # Parent 907aeac6ce8922df063e0dcf1be954183cbef854 cppcheck diff -r 907aeac6ce89 -r b7a495d2b39e Plugin/DicomWebClient.cpp --- a/Plugin/DicomWebClient.cpp Sat Oct 17 18:43:45 2020 +0200 +++ b/Plugin/DicomWebClient.cpp Mon Oct 19 18:44:18 2020 +0200 @@ -246,7 +246,7 @@ } } - virtual OrthancPluginJobStepStatus Step() + virtual OrthancPluginJobStepStatus Step() ORTHANC_OVERRIDE { if (factory_ == NULL) { @@ -280,7 +280,7 @@ } } - virtual void Stop(OrthancPluginJobStopReason reason) + virtual void Stop(OrthancPluginJobStopReason reason) ORTHANC_OVERRIDE { if (factory_ == NULL) { @@ -307,7 +307,7 @@ } } - virtual void Reset() + virtual void Reset() ORTHANC_OVERRIDE { boost::mutex::scoped_lock lock(mutex_); @@ -636,7 +636,7 @@ { } - virtual bool ReadNextChunk(std::string& chunk) + virtual bool ReadNextChunk(std::string& chunk) ORTHANC_OVERRIDE { if (done_) { diff -r 907aeac6ce89 -r b7a495d2b39e Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h --- a/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Sat Oct 17 18:43:45 2020 +0200 +++ b/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h Mon Oct 19 18:44:18 2020 +0200 @@ -779,7 +779,7 @@ void UpdateProgress(float progress); public: - OrthancJob(const std::string& jobType); + explicit OrthancJob(const std::string& jobType); virtual ~OrthancJob() {