changeset 772:217ad391163a

renamed Logging::ScopedThreadNameSetter as ScopedCurrentThreadNameSetter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 Jul 2026 15:04:23 +0200
parents e83719c40138
children 7494195c697b
files Plugin/WadoRs.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/WadoRs.cpp	Tue Jul 07 13:48:26 2026 +0200
+++ b/Plugin/WadoRs.cpp	Tue Jul 07 15:04:23 2026 +0200
@@ -542,7 +542,7 @@
   static void PreloaderWorkerThread(ThreadedInstanceLoader* that)
   {
 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 12)
-    Orthanc::Logging::ScopedThreadNameSetter setter(GetWadoLoaderThreadName());
+    Orthanc::Logging::ScopedCurrentThreadNameSetter setter(GetWadoLoaderThreadName());
 #endif
 
     LOG(INFO) << "Loader thread has started";
@@ -1752,7 +1752,7 @@
 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()));
+  Orthanc::Logging::ScopedCurrentThreadNameSetter setter(std::string("DW-META-") + boost::lexical_cast<std::string>(data->GetThreadId()));
 #endif
 
   while (true)