Mercurial > hg > orthanc-databases
diff MySQL/Plugins/IndexPlugin.cpp @ 213:c2e4a909de0e
added IndexBackend::Register() to be used in all the index plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 Mar 2021 15:59:23 +0100 |
parents | d9ef3f16e6a2 |
children | c8e06b41feec |
line wrap: on
line diff
--- a/MySQL/Plugins/IndexPlugin.cpp Wed Mar 24 15:47:14 2021 +0100 +++ b/MySQL/Plugins/IndexPlugin.cpp Wed Mar 24 15:59:23 2021 +0100 @@ -71,7 +71,7 @@ backend_.reset(new OrthancDatabases::MySQLIndex(context, parameters)); /* Register the MySQL index into Orthanc */ - OrthancDatabases::DatabaseBackendAdapterV2::Register(*backend_); + OrthancDatabases::IndexBackend::Register(*backend_); } catch (Orthanc::OrthancException& e) {