Mercurial > hg > orthanc-gcp
comparison Plugin/GoogleUpdater.cpp @ 17:2514880d4f0b
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Jun 2019 14:09:30 +0200 |
parents | 25292488ff8f |
children | d9e1b60a9aa6 |
comparison
equal
deleted
inserted
replaced
16:25292488ff8f | 17:2514880d4f0b |
---|---|
89 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); | 89 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); |
90 } | 90 } |
91 }; | 91 }; |
92 | 92 |
93 public: | 93 public: |
94 CurlBuilder(std::string base_url, | 94 CurlBuilder(const std::string& base_url, |
95 std::shared_ptr<google::cloud::storage::internal::CurlHandleFactory> factory) : | 95 const std::shared_ptr<google::cloud::storage::internal::CurlHandleFactory>& factory) : |
96 CurlRequestBuilder(base_url, std::make_shared<HandleFactory>()) | 96 CurlRequestBuilder(base_url, std::make_shared<HandleFactory>()) |
97 { | 97 { |
98 } | 98 } |
99 }; | 99 }; |
100 } | 100 } |