changeset 4816:58637d39ce88

merge
author Alain Mazy <am@osimis.io>
date Thu, 25 Nov 2021 12:14:14 +0100
parents cd6dc99e0470 (diff) 46bfa3a4fd63 (current diff)
children c0986ae1b9fc
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	Wed Nov 24 18:03:35 2021 +0100
+++ b/OrthancServer/Sources/ServerJobs/ArchiveJob.cpp	Thu Nov 25 12:14:14 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)