changeset 4818:c0986ae1b9fc

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:09:27 +0100
parents b8fcd331b4b3 (current diff) 58637d39ce88 (diff)
children 70d2a97ca8cb 381c2ca04860
files
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp	Thu Nov 25 13:09:15 2021 +0100
+++ b/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp	Thu Nov 25 13:09:27 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)