changeset 6435:fef8af71a589

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Nov 2025 16:57:00 +0100
parents eda564f847d0 (diff) 0ebe8cfd9bf7 (current diff)
children b832b6f7375d 9aa0a92c7d27
files
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Nov 18 16:54:48 2025 +0100
+++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h	Tue Nov 18 16:57:00 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 16:54:48 2025 +0100
+++ b/OrthancServer/Resources/RunCppCheck-2.17.1.sh	Tue Nov 18 16:57:00 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