Mercurial > hg > orthanc-stone
changeset 2121:4cc9e4a54a89
simplification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 Mar 2024 16:09:42 +0100 |
parents | 11bc8a304038 |
children | c1ed80be7138 538c7b7c6e46 16c01cc201e7 |
files | Applications/Samples/RtViewerPlugin/Plugin.cpp Applications/StoneWebViewer/Plugin/Plugin.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Samples/RtViewerPlugin/Plugin.cpp Sat Mar 16 12:04:50 2024 +0100 +++ b/Applications/Samples/RtViewerPlugin/Plugin.cpp Fri Mar 22 16:09:42 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:04:50 2024 +0100 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Fri Mar 22 16:09:42 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);