comparison Plugin/ResourceHierarchyCache.cpp @ 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
192 { 192 {
193 return false; 193 return false;
194 } 194 }
195 } 195 }
196 196
197 #if BUILD_UNIT_TESTS == 1
197 void ResourceHierarchyCache::AddOrthancDicomMapping(Orthanc::ResourceType level, 198 void ResourceHierarchyCache::AddOrthancDicomMapping(Orthanc::ResourceType level,
198 const std::string& orthancId, 199 const std::string& orthancId,
199 const std::string& dicomUid) 200 const std::string& dicomUid)
200 { 201 {
201 dicomToOrthanc_->Store(ComputeKey(level, dicomUid), orthancId, 0 /* no expiration */); 202 dicomToOrthanc_->Store(ComputeKey(level, dicomUid), orthancId, 0 /* no expiration */);
206 const std::string& childOrthancId, 207 const std::string& childOrthancId,
207 const std::string& parentOrthancId) 208 const std::string& parentOrthancId)
208 { 209 {
209 cache_->Store(ComputeKey(childLevel, childOrthancId), parentOrthancId, 0 /* no expiration */); 210 cache_->Store(ComputeKey(childLevel, childOrthancId), parentOrthancId, 0 /* no expiration */);
210 } 211 }
211 212 #endif
212 213
213 } 214 }