changeset 6437:b832b6f7375d

merge
author Alain Mazy <am@orthanc.team>
date Tue, 18 Nov 2025 17:14:25 +0100
parents 555f0bb4164e (current diff) fef8af71a589 (diff)
children 8b2ef7afec93 96676e815c1f
files
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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