Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.cpp @ 381:9cde77ca9ad9 db-protobuf
initializing and finalizing protobuf
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Mar 2023 21:16:57 +0200 |
parents | 9db9e0275ec0 |
children | 346fe629d638 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp Thu Mar 30 17:08:00 2023 +0200 +++ b/Framework/Plugins/IndexBackend.cpp Thu Mar 30 21:16:57 2023 +0200 @@ -2692,6 +2692,12 @@ OrthancDatabases::DatabaseBackendAdapterV3::Finalize(); # endif #endif + +#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in Orthanc 1.3.1 +# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0) + OrthancDatabases::DatabaseBackendAdapterV4::Finalize(); +# endif +#endif }