Mercurial > hg > orthanc-dicomweb
changeset 770:d7e2afd17a3b
fix build against Orthanc framework 1.12.11
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Tue, 07 Jul 2026 13:34:44 +0200 |
| parents | ffef0c388025 |
| children | e83719c40138 |
| files | Plugin/WadoRs.cpp |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/WadoRs.cpp Tue Jul 07 11:03:27 2026 +0200 +++ b/Plugin/WadoRs.cpp Tue Jul 07 13:34:44 2026 +0200 @@ -541,7 +541,9 @@ static void PreloaderWorkerThread(ThreadedInstanceLoader* that) { +#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 12) Orthanc::Logging::ScopedThreadNameSetter setter(GetWadoLoaderThreadName()); +#endif LOG(INFO) << "Loader thread has started"; @@ -1749,7 +1751,9 @@ void InstanceWorkerThread(InstanceWorkerData* data) { +#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 12) Orthanc::Logging::ScopedThreadNameSetter setter(std::string("DW-META-") + boost::lexical_cast<std::string>(data->GetThreadId())); +#endif while (true) {
