changeset 2122:c1ed80be7138 dicom-sr

integration mainline->dicom-sr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 16:10:01 +0100
parents bf8ddc85023e (current diff) 4cc9e4a54a89 (diff)
children 1a02e758eaf4
files
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Samples/RtViewerPlugin/Plugin.cpp	Sat Mar 16 12:06:07 2024 +0100
+++ b/Applications/Samples/RtViewerPlugin/Plugin.cpp	Fri Mar 22 16:10:01 2024 +0100
@@ -133,7 +133,7 @@
       std::string explorer;
       Orthanc::EmbeddedResources::GetFileResource(
         explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER);
-      OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str());
+      OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer);
       
       // RtViewer files below.
       // ---------------------
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp	Sat Mar 16 12:06:07 2024 +0100
+++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp	Fri Mar 22 16:10:01 2024 +0100
@@ -284,7 +284,7 @@
       std::string explorer;
       Orthanc::EmbeddedResources::GetFileResource(
         explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER);
-      OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str());
+      OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer);
       
       OrthancPlugins::RegisterRestCallback<ServeConfiguration>
         (STONE_WEB_VIEWER_ROOT + "/configuration.json", true);