diff Plugin/ResourceHierarchyCache.h @ 78:a2e5ea1869bd

fix build
author Alain Mazy <am@osimis.io>
date Wed, 15 Mar 2023 20:27:43 +0100
parents 94a9484d7f8f
children 7381a7674b36
line wrap: on
line diff
--- a/Plugin/ResourceHierarchyCache.h	Wed Mar 15 16:36:42 2023 +0100
+++ b/Plugin/ResourceHierarchyCache.h	Wed Mar 15 20:27:43 2023 +0100
@@ -89,6 +89,7 @@
                          Orthanc::ResourceType level,
                          const std::string& dicomUid);
 
+#if BUILD_UNIT_TESTS == 1
     FRIEND_TEST(DefaultAuthorizationParser, Parse);
   protected:
     void AddOrthancDicomMapping(Orthanc::ResourceType level,
@@ -98,6 +99,6 @@
     void AddParentLink(Orthanc::ResourceType childLevel,
                        const std::string& childOrthancId,
                        const std::string& parentOrthancId);
-
+#endif
   };
 }