Mercurial > hg > orthanc-wsi
comparison Framework/Targets/OrthancTarget.h @ 91:8fd5bf76bb8e
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Dec 2016 20:18:34 +0100 |
parents | 147bd6dc28db |
children | ff0ef01c332c |
comparison
equal
deleted
inserted
replaced
90:bdc5cb0db9bf | 91:8fd5bf76bb8e |
---|---|
33 private: | 33 private: |
34 std::auto_ptr<OrthancPlugins::IOrthancConnection> orthanc_; | 34 std::auto_ptr<OrthancPlugins::IOrthancConnection> orthanc_; |
35 bool first_; | 35 bool first_; |
36 | 36 |
37 public: | 37 public: |
38 OrthancTarget(const Orthanc::WebServiceParameters& parameters); | 38 explicit OrthancTarget(const Orthanc::WebServiceParameters& parameters); |
39 | 39 |
40 OrthancTarget(OrthancPlugins::IOrthancConnection* orthanc) : // Takes ownership | 40 explicit OrthancTarget(OrthancPlugins::IOrthancConnection* orthanc) : // Takes ownership |
41 orthanc_(orthanc), | 41 orthanc_(orthanc), |
42 first_(true) | 42 first_(true) |
43 { | 43 { |
44 } | 44 } |
45 | 45 |