changeset 7202:2352bf296a35

removed unnecessary include
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Nov 2026 09:43:05 +0100
parents 2b27b5cc7930
children 49450448d60a
files OrthancFramework/Sources/DicomParsing/DicomModification.cpp OrthancFramework/Sources/Logging.cpp OrthancFramework/Sources/Logging.h OrthancFramework/Sources/SQLite/Connection.cpp
diffstat 4 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.cpp	Mon Nov 09 09:31:17 2026 +0100
+++ b/OrthancFramework/Sources/DicomParsing/DicomModification.cpp	Mon Nov 09 09:43:05 2026 +0100
@@ -1087,9 +1087,9 @@
     // (5.0) Change the encoding before replacing new values
     if (IsReplaced(DICOM_TAG_SPECIFIC_CHARACTER_SET))
     {
-      std::string targetEncodingStr = GetReplacementAsString(DICOM_TAG_SPECIFIC_CHARACTER_SET);
+      const std::string targetEncodingStr = GetReplacementAsString(DICOM_TAG_SPECIFIC_CHARACTER_SET);
       Encoding targetEncoding;
-      
+
       if (!GetDicomEncoding(targetEncoding, targetEncodingStr.c_str()))
       {
         throw OrthancException(ErrorCode_BadRequest, std::string("Unrecognized SpecificCharacterSet, unable to modify the encoding: ") + targetEncodingStr);
--- a/OrthancFramework/Sources/Logging.cpp	Mon Nov 09 09:31:17 2026 +0100
+++ b/OrthancFramework/Sources/Logging.cpp	Mon Nov 09 09:43:05 2026 +0100
@@ -145,7 +145,7 @@
       return (traceCategoriesMask_ != 0);
     }
 
-    void SetMessageIdEnabled(const std::string& messageId, 
+    void SetMessageIdEnabled(const std::string& messageId,
                              bool enabled)
     {
       ReaderWriterLock::WriteLock lock(messageIdsMutex_);
--- a/OrthancFramework/Sources/Logging.h	Mon Nov 09 09:31:17 2026 +0100
+++ b/OrthancFramework/Sources/Logging.h	Mon Nov 09 09:43:05 2026 +0100
@@ -174,7 +174,7 @@
     ORTHANC_PUBLIC bool LookupCategory(LogCategory& target,
                                        const std::string& category);
 
-    ORTHANC_PUBLIC void SetMessageIdEnabled(const std::string& messageId, 
+    ORTHANC_PUBLIC void SetMessageIdEnabled(const std::string& messageId,
                                             bool enabled);
 
     ORTHANC_PUBLIC bool IsMessageIdEnabled(const std::string& messageId);
--- a/OrthancFramework/Sources/SQLite/Connection.cpp	Mon Nov 09 09:31:17 2026 +0100
+++ b/OrthancFramework/Sources/SQLite/Connection.cpp	Mon Nov 09 09:43:05 2026 +0100
@@ -54,7 +54,6 @@
 #endif
 
 #include <sqlite3.h>
-#include <boost/lexical_cast.hpp>
 
 namespace Orthanc
 {