Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerJobs/StorageCommitmentScpJob.cpp @ 4205:d962a2996637
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 17:58:19 +0200 |
parents | 05b8fd21089c |
children | 171af1567473 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/StorageCommitmentScpJob.cpp Thu Sep 17 16:18:01 2020 +0200 +++ b/OrthancServer/Sources/ServerJobs/StorageCommitmentScpJob.cpp Thu Sep 17 17:58:19 2020 +0200 @@ -70,7 +70,7 @@ StorageCommitmentScpJob& that_; public: - SetupCommand(StorageCommitmentScpJob& that) : + explicit SetupCommand(StorageCommitmentScpJob& that) : that_(that) { } @@ -155,7 +155,7 @@ StorageCommitmentScpJob& that_; public: - AnswerCommand(StorageCommitmentScpJob& that) : + explicit AnswerCommand(StorageCommitmentScpJob& that) : that_(that) { if (that_.ready_) @@ -193,13 +193,13 @@ StorageCommitmentScpJob& that_; public: - Unserializer(StorageCommitmentScpJob& that) : + explicit Unserializer(StorageCommitmentScpJob& that) : that_(that) { that_.ready_ = false; } - virtual ICommand* Unserialize(const Json::Value& source) const + virtual ICommand* Unserialize(const Json::Value& source) const ORTHANC_OVERRIDE { const std::string type = SerializationToolbox::ReadString(source, TYPE);