diff OrthancFramework/Sources/HttpServer/IWebDavBucket.h @ 4253:2221051b42df

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 15 Oct 2020 20:08:44 +0200
parents f047e2734655
children b873c8e24125
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/IWebDavBucket.h	Thu Oct 15 17:13:35 2020 +0200
+++ b/OrthancFramework/Sources/HttpServer/IWebDavBucket.h	Thu Oct 15 20:08:44 2020 +0200
@@ -56,7 +56,7 @@
       boost::posix_time::ptime  modificationTime_;
 
     public:
-      Resource(const std::string& displayName);
+      explicit Resource(const std::string& displayName);
 
       virtual ~Resource()
       {
@@ -93,7 +93,7 @@
       MimeType  mime_;
 
     public:
-      File(const std::string& displayName);
+      explicit File(const std::string& displayName);
 
       void SetContentLength(uint64_t contentLength)
       {
@@ -125,7 +125,7 @@
     class Folder : public Resource
     {
     public:
-      Folder(const std::string& displayName) :
+      explicit Folder(const std::string& displayName) :
         Resource(displayName)
       {
       }