# HG changeset patch # User Sebastien Jodogne # Date 1783424084 -7200 # Node ID d7e2afd17a3bf379a3c0fbc0848c7fafbb56e3ed # Parent ffef0c388025282bb4927850c67cb2ea42b50fed fix build against Orthanc framework 1.12.11 diff -r ffef0c388025 -r d7e2afd17a3b Plugin/WadoRs.cpp --- 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(data->GetThreadId())); +#endif while (true) {