Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.cpp @ 410:614031f7a16d OrthancPostgreSQL-5.0
OrthancPostgreSQL-5.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 15 Apr 2023 18:40:24 +0200 |
parents | de6de66d70b2 |
children | f2d3b5c5a68d |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp Sat Apr 15 14:55:21 2023 +0200 +++ b/Framework/Plugins/IndexBackend.cpp Sat Apr 15 18:40:24 2023 +0200 @@ -2384,9 +2384,7 @@ } -#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4) - // New primitive since Orthanc 1.5.4 +// New primitive since Orthanc 1.5.4 bool IndexBackend::LookupResourceAndParent(int64_t& id, OrthancPluginResourceType& type, std::string& parentPublicId, @@ -2444,12 +2442,8 @@ return true; } } -# endif -#endif -#if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1 -# if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4) // New primitive since Orthanc 1.5.4 void IndexBackend::GetAllMetadata(std::map<int32_t, std::string>& result, DatabaseManager& manager, @@ -2486,8 +2480,6 @@ } } } -# endif -#endif #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1