comparison 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
comparison
equal deleted inserted replaced
3711:14b363d972a8 3713:56f2397f027a
32 32
33 33
34 #include "PrecompiledHeaders.h" 34 #include "PrecompiledHeaders.h"
35 #include "Toolbox.h" 35 #include "Toolbox.h"
36 36
37 #include "Compatibility.h"
37 #include "OrthancException.h" 38 #include "OrthancException.h"
38 #include "Logging.h" 39 #include "Logging.h"
39 40
40 #include <boost/algorithm/string/case_conv.hpp> 41 #include <boost/algorithm/string/case_conv.hpp>
41 #include <boost/algorithm/string/replace.hpp> 42 #include <boost/algorithm/string/replace.hpp>
1432 return IsUuid(str.substr(0, 36)); 1433 return IsUuid(str.substr(0, 36));
1433 } 1434 }
1434 1435
1435 1436
1436 #if ORTHANC_ENABLE_LOCALE == 1 1437 #if ORTHANC_ENABLE_LOCALE == 1
1437 static std::auto_ptr<std::locale> globalLocale_; 1438 static std::unique_ptr<std::locale> globalLocale_;
1438 1439
1439 static bool SetGlobalLocale(const char* locale) 1440 static bool SetGlobalLocale(const char* locale)
1440 { 1441 {
1441 try 1442 try
1442 { 1443 {