# HG changeset patch # User Sebastien Jodogne # Date 1794213785 -3600 # Node ID 2352bf296a353a2a0a8339122ea71988cbe689ef # Parent 2b27b5cc7930ba265b59589253274bc51004e58c removed unnecessary include diff -r 2b27b5cc7930 -r 2352bf296a35 OrthancFramework/Sources/DicomParsing/DicomModification.cpp --- 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); diff -r 2b27b5cc7930 -r 2352bf296a35 OrthancFramework/Sources/Logging.cpp --- 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_); diff -r 2b27b5cc7930 -r 2352bf296a35 OrthancFramework/Sources/Logging.h --- 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); diff -r 2b27b5cc7930 -r 2352bf296a35 OrthancFramework/Sources/SQLite/Connection.cpp --- 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 -#include namespace Orthanc {