Mercurial > hg > orthanc
changeset 6204:6fa607204303
fix build without support for plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 13 Jun 2025 16:15:48 +0200 |
parents | b271895d9b40 |
children | 88953cf7c82f |
files | OrthancServer/Sources/ServerContext.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.cpp Fri Jun 13 15:49:18 2025 +0200 +++ b/OrthancServer/Sources/ServerContext.cpp Fri Jun 13 16:15:48 2025 +0200 @@ -908,12 +908,12 @@ { DicomInstanceToStore* dicom = &receivedDicom; +#if ORTHANC_ENABLE_PLUGINS == 1 // WARNING: The scope of "modifiedBuffer" and "modifiedDicom" must // be the same as that of "dicom" PluginMemoryBuffer64 modifiedBuffer; std::unique_ptr<DicomInstanceToStore> modifiedDicom; -#if ORTHANC_ENABLE_PLUGINS == 1 if (HasPlugins()) { // New in Orthanc 1.10.0