Mercurial > hg > orthanc-authorization
comparison Plugin/AuthorizationParserBase.h @ 78:a2e5ea1869bd
fix build
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 15 Mar 2023 20:27:43 +0100 |
parents | 94a9484d7f8f |
children | 7381a7674b36 |
comparison
equal
deleted
inserted
replaced
77:94a9484d7f8f | 78:a2e5ea1869bd |
---|---|
74 const std::string& id) ORTHANC_OVERRIDE | 74 const std::string& id) ORTHANC_OVERRIDE |
75 { | 75 { |
76 resourceHierarchy_->Invalidate(level, id); | 76 resourceHierarchy_->Invalidate(level, id); |
77 } | 77 } |
78 | 78 |
79 #if BUILD_UNIT_TESTS == 1 | |
79 FRIEND_TEST(DefaultAuthorizationParser, Parse); | 80 FRIEND_TEST(DefaultAuthorizationParser, Parse); |
80 protected: | 81 protected: |
81 ResourceHierarchyCache* GetResourceHierarchy() | 82 ResourceHierarchyCache* GetResourceHierarchy() |
82 { | 83 { |
83 return resourceHierarchy_.get(); | 84 return resourceHierarchy_.get(); |
84 } | 85 } |
86 #endif | |
85 }; | 87 }; |
86 } | 88 } |