diff Core/Toolbox.cpp @ 3713:56f2397f027a storage-commitment

integration mainline->storage-commitment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 15:42:17 +0100
parents f6a73611ec5c 2a170a8f1faf
children e7ff4f9b34bd
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Mon Mar 02 10:13:34 2020 +0100
+++ b/Core/Toolbox.cpp	Mon Mar 02 15:42:17 2020 +0100
@@ -34,6 +34,7 @@
 #include "PrecompiledHeaders.h"
 #include "Toolbox.h"
 
+#include "Compatibility.h"
 #include "OrthancException.h"
 #include "Logging.h"
 
@@ -1434,7 +1435,7 @@
 
 
 #if ORTHANC_ENABLE_LOCALE == 1
-  static std::auto_ptr<std::locale>  globalLocale_;
+  static std::unique_ptr<std::locale>  globalLocale_;
 
   static bool SetGlobalLocale(const char* locale)
   {