Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 3388:18cd4951fccc
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Jun 2019 09:04:26 +0200 |
parents | a48d652f1500 |
children | ad434967a68c |
comparison
equal
deleted
inserted
replaced
3387:a48d652f1500 | 3388:18cd4951fccc |
---|---|
2056 } | 2056 } |
2057 #endif | 2057 #endif |
2058 | 2058 |
2059 | 2059 |
2060 | 2060 |
2061 #if HAS_ORTHANC_PLUGIN_HTTP_CLIENT == 1 | |
2061 #if HAS_ORTHANC_PLUGIN_HTTP_CHUNKED_BODY == 1 | 2062 #if HAS_ORTHANC_PLUGIN_HTTP_CHUNKED_BODY == 1 |
2062 class HttpClient::ChunkedBody : public boost::noncopyable | 2063 class HttpClient::ChunkedBody : public boost::noncopyable |
2063 { | 2064 { |
2064 private: | 2065 private: |
2065 static ChunkedBody& GetObject(void* body) | 2066 static ChunkedBody& GetObject(void* body) |
2269 if (error != OrthancPluginErrorCode_Success) | 2270 if (error != OrthancPluginErrorCode_Success) |
2270 { | 2271 { |
2271 ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(error); | 2272 ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(error); |
2272 } | 2273 } |
2273 } | 2274 } |
2275 #endif /* HAS_ORTHANC_PLUGIN_HTTP_CLIENT == 1 */ | |
2274 } | 2276 } |