diff Framework/Plugins/IndexBackend.h @ 565:373cf7d747cc find-refactoring

fix build against orthanc mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 22 Sep 2024 10:03:36 +0200
parents d8ee2f676a3c
children 77c8544bbd7d
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h	Fri Sep 20 18:36:52 2024 +0200
+++ b/Framework/Plugins/IndexBackend.h	Sun Sep 22 10:03:36 2024 +0200
@@ -429,11 +429,13 @@
 
     virtual uint64_t MeasureLatency(DatabaseManager& manager) ORTHANC_OVERRIDE;
 
+#if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5)
     // New primitive since Orthanc 1.12.5
     virtual bool HasExtendedChanges() const ORTHANC_OVERRIDE
     {
       return true;
     }
+#endif
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 5)
     virtual bool HasFindSupport() const ORTHANC_OVERRIDE;