changeset 6774:283317a0effa

merge
author Alain Mazy <am@orthanc.team>
date Tue, 12 May 2026 14:40:37 +0200
parents f26e2a26060f (current diff) 7cb0789238ee (diff)
children a5d1aa442f75
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Cache/SharedObjectCache.cpp	Tue May 12 14:39:52 2026 +0200
+++ b/OrthancFramework/Sources/Cache/SharedObjectCache.cpp	Tue May 12 14:40:37 2026 +0200
@@ -112,7 +112,7 @@
     if (found == content_.end())
     {
       assert(!lru_.Contains(id));
-      return NULL;
+      return boost::shared_ptr<IDynamicObject>();  // Initialization to NULL
     }
     else
     {