Mercurial > hg > orthanc
diff Core/HttpServer/FilesystemHttpSender.h @ 2223:29689b30f9ae
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 15:28:05 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.h Tue Dec 13 14:34:33 2016 +0100 +++ b/Core/HttpServer/FilesystemHttpSender.h Tue Dec 13 15:28:05 2016 +0100 @@ -50,12 +50,12 @@ void Initialize(const boost::filesystem::path& path); public: - FilesystemHttpSender(const std::string& path) + explicit FilesystemHttpSender(const std::string& path) { Initialize(path); } - FilesystemHttpSender(const boost::filesystem::path& path) + explicit FilesystemHttpSender(const boost::filesystem::path& path) { Initialize(path); }