changeset 17:972439d2d38f

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 16:06:20 +0100
parents e662d794da41
children 345a1c509240
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:42:34 2024 +0100
+++ b/Sources/Plugin.cpp	Fri Mar 22 16:06:20 2024 +0100
@@ -141,7 +141,7 @@
     // Extend the default Orthanc Explorer with custom JavaScript for VolView
     std::string explorer;
     Orthanc::EmbeddedResources::GetFileResource(explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER);
-    OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer.c_str());
+    OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer);
 
     return 0;
   }