Mercurial > hg > orthanc
diff OrthancServer/Sources/DicomInstanceOrigin.h @ 4204:318c16cfccab
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 16:18:01 +0200 |
parents | 05b8fd21089c |
children | c70df925151e |
line wrap: on
line diff
--- a/OrthancServer/Sources/DicomInstanceOrigin.h Thu Sep 17 15:01:31 2020 +0200 +++ b/OrthancServer/Sources/DicomInstanceOrigin.h Thu Sep 17 16:18:01 2020 +0200 @@ -46,7 +46,7 @@ std::string dicomCalledAet_; std::string httpUsername_; - DicomInstanceOrigin(RequestOrigin origin) : + explicit DicomInstanceOrigin(RequestOrigin origin) : origin_(origin) { } @@ -57,7 +57,7 @@ { } - DicomInstanceOrigin(const Json::Value& serialized); + explicit DicomInstanceOrigin(const Json::Value& serialized); static DicomInstanceOrigin FromDicomProtocol(const char* remoteIp, const char* remoteAet,