changeset 6531:8dd00670b904

fix SetMetricsValue() in OrthancPluginCppWrapper.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Dec 2025 19:15:43 +0100
parents c4cfb25a932b
children ed9142ea378d
files OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Dec 02 17:08:41 2025 +0100
+++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Dec 02 19:15:43 2025 +0100
@@ -1017,7 +1017,7 @@
 
 
 #if HAS_ORTHANC_PLUGIN_METRICS == 1
-  inline void SetMetricsValue(char* name,
+  inline void SetMetricsValue(const char* name,
                               float value)
   {
     OrthancPluginSetMetricsValue(GetGlobalContext(), name,