# HG changeset patch # User Alain Mazy # Date 1763482465 -3600 # Node ID b832b6f7375d270f4368bcc2db005d5dd94c9d20 # Parent 555f0bb4164e906715d60639f028c4d63cbfcee0# Parent fef8af71a5892842aa60993f75f0031dc2d870d8 merge diff -r 555f0bb4164e -r b832b6f7375d OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h --- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Nov 18 17:13:48 2025 +0100 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Nov 18 17:14:25 2025 +0100 @@ -2178,7 +2178,7 @@ **/ ORTHANC_PLUGIN_SINCE_SDK("1.4.0") ORTHANC_PLUGIN_INLINE int32_t OrthancPluginCheckVersionAdvanced( - OrthancPluginContext* context, + const OrthancPluginContext* context, int32_t expectedMajor, int32_t expectedMinor, int32_t expectedRevision) @@ -2293,7 +2293,7 @@ * @ingroup Callbacks **/ ORTHANC_PLUGIN_INLINE int32_t OrthancPluginCheckVersion( - OrthancPluginContext* context) + const OrthancPluginContext* context) { return OrthancPluginCheckVersionAdvanced( context, diff -r 555f0bb4164e -r b832b6f7375d OrthancServer/Resources/RunCppCheck-2.17.1.sh --- a/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 18 17:13:48 2025 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 18 17:14:25 2025 +0100 @@ -23,7 +23,6 @@ constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:451 constParameterPointer:../../OrthancFramework/Sources/Toolbox.cpp:3046 constParameterPointer:../../OrthancFramework/Sources/Toolbox.cpp:3053 -constParameterPointer:../../OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h:2181 cstyleCast:../../OrthancServer/Plugins/Engine/PluginsManager.cpp:108 cstyleCast:../../OrthancServer/Plugins/Engine/PluginsManager.cpp:124 cstyleCast:../../OrthancServer/Plugins/Engine/PluginsManager.cpp:140