diff OrthancServer/Sources/DicomInstanceToStore.cpp @ 4506:ac69c9f76c71

refactoring ServerIndex::Store()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Feb 2021 17:01:44 +0100
parents 97d103b57cd1
children b4c58795f3a8
line wrap: on
line diff
--- a/OrthancServer/Sources/DicomInstanceToStore.cpp	Wed Feb 10 12:07:03 2021 +0100
+++ b/OrthancServer/Sources/DicomInstanceToStore.cpp	Wed Feb 10 17:01:44 2021 +0100
@@ -351,9 +351,9 @@
   }
 
 
-  DicomInstanceToStore::MetadataMap& DicomInstanceToStore::GetMetadata()
+  void DicomInstanceToStore::ClearMetadata()
   {
-    return pimpl_->metadata_;
+    pimpl_->metadata_.clear();
   }