# HG changeset patch # User Sebastien Jodogne # Date 1763567353 -3600 # Node ID d442670c27b4b904379675892efe6f75641fe017 # Parent b6eac1a1b2ae53e33f51c7bd420f380dd7386ce0 fix deprecation warning diff -r b6eac1a1b2ae -r d442670c27b4 OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Nov 19 16:05:39 2025 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Nov 19 16:49:13 2025 +0100 @@ -364,6 +364,8 @@ } } + +#if (HAS_ORTHANC_PLUGIN_PEERS == 1) || (HAS_ORTHANC_PLUGIN_HTTP_CLIENT == 1) || (HAS_ORTHANC_PLUGIN_GENERIC_CALL_REST_API == 1) static void DecodeHttpHeaders(HttpHeaders& target, const MemoryBuffer& source) { @@ -391,6 +393,8 @@ } } } +#endif + // helper class to convert std::map of headers to the plugin SDK C structure class PluginHttpHeaders