# HG changeset patch # User Sebastien Jodogne # Date 1764699343 -3600 # Node ID 8dd00670b90475d0ae610aaf86c2a17e6141017f # Parent c4cfb25a932bc66bc379589826d0b9c9d48c7e0c fix SetMetricsValue() in OrthancPluginCppWrapper.h diff -r c4cfb25a932b -r 8dd00670b904 OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h --- 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,