changeset 39:a63247d45917

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 16:05:51 +0100
parents fae02fc69b46
children 4a9c25959938
files Sources/Plugin.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Fri Mar 22 15:30:54 2024 +0100
+++ b/Sources/Plugin.cpp	Fri Mar 22 16:05:51 2024 +0100
@@ -940,7 +940,7 @@
         dictionary["USE_DICOM_WEB"] = (dataSource_ == DataSource_DicomWeb ? "true" : "false");
         explorer = Orthanc::Toolbox::SubstituteVariables(explorer, dictionary);
       
-        OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer.c_str());
+        OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer);
       }
     }
     catch (Orthanc::OrthancException& e)