diff Common/StoragePlugin.cpp @ 143:82ab647f7e73

fix deprecated calls
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 15:26:19 +0100
parents 12ea59c97c40
children 3c7e0374f28e
line wrap: on
line diff
--- a/Common/StoragePlugin.cpp	Sat Mar 02 11:26:20 2024 +0100
+++ b/Common/StoragePlugin.cpp	Fri Mar 22 15:26:19 2024 +0100
@@ -534,7 +534,7 @@
     OrthancPlugins::OrthancConfiguration orthancConfig;
 
     OrthancPlugins::LogWarning(std::string(StoragePluginFactory::GetStoragePluginName()) + " plugin is initializing");
-    OrthancPluginSetDescription(context, StoragePluginFactory::GetStorageDescription());
+    OrthancPlugins::SetDescription(StoragePluginFactory::GetStoragePluginName(), StoragePluginFactory::GetStorageDescription());
 
     /* Check the version of the Orthanc core */
     if (OrthancPluginCheckVersion(context) == 0)