Mercurial > hg > orthanc
changeset 4815:cd6dc99e0470
cppcheck
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 25 Nov 2021 12:13:53 +0100 |
parents | 7afbb54bd028 |
children | 58637d39ce88 |
files | OrthancServer/Sources/ServerJobs/ArchiveJob.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp Tue Nov 23 09:22:11 2021 +0100 +++ b/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp Thu Nov 25 12:13:53 2021 +0100 @@ -94,7 +94,7 @@ protected: ServerContext& context_; public: - InstanceLoader(ServerContext& context) + explicit InstanceLoader(ServerContext& context) : context_(context) { } @@ -118,7 +118,7 @@ class ArchiveJob::SynchronousInstanceLoader : public ArchiveJob::InstanceLoader { public: - SynchronousInstanceLoader(ServerContext& context) + explicit SynchronousInstanceLoader(ServerContext& context) : InstanceLoader(context) { } @@ -135,7 +135,7 @@ std::string id_; public: - InstanceId(const std::string& id) : id_(id) + explicit InstanceId(const std::string& id) : id_(id) { } @@ -692,7 +692,7 @@ } public: - ZipCommands(InstanceLoader& instanceLoader) : + explicit ZipCommands(InstanceLoader& instanceLoader) : uncompressedSize_(0), instancesCount_(0), instanceLoader_(instanceLoader)