changeset 6782:e8c6f6cc27f2

fix for older versions of boost
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 May 2026 08:44:52 +0200
parents d7513954b7fb
children 39623af8186d
files OrthancFramework/Sources/DataSource/DataSourceReader.cpp OrthancFramework/Sources/MultiThreading/ThreadPool.cpp
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DataSource/DataSourceReader.cpp	Tue May 12 20:20:49 2026 +0200
+++ b/OrthancFramework/Sources/DataSource/DataSourceReader.cpp	Wed May 13 08:44:52 2026 +0200
@@ -30,6 +30,7 @@
 #include "DataSourceMemoryBudget.h"
 
 #include <boost/make_shared.hpp>
+#include <boost/weak_ptr.hpp>
 #include <cassert>
 
 
--- a/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp	Tue May 12 20:20:49 2026 +0200
+++ b/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp	Wed May 13 08:44:52 2026 +0200
@@ -30,6 +30,7 @@
 #include "FutureState.h"
 
 #include <boost/lexical_cast.hpp>
+#include <boost/weak_ptr.hpp>
 
 
 static const unsigned int DEFAULT_DEQUEUE_TIMEOUT_MS = 100;