diff OrthancServer/Sources/ServerIndex.h @ 4205:d962a2996637

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 17:58:19 +0200
parents 05b8fd21089c
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerIndex.h	Thu Sep 17 16:18:01 2020 +0200
+++ b/OrthancServer/Sources/ServerIndex.h	Thu Sep 17 17:58:19 2020 +0200
@@ -274,7 +274,7 @@
                       const std::string& publicId,
                       ResourceType parentType);
 
-    void ReconstructInstance(ParsedDicomFile& dicom);
+    void ReconstructInstance(const ParsedDicomFile& dicom);
 
     void ApplyLookupResources(std::vector<std::string>& resourcesId,
                               std::vector<std::string>* instancesId,  // Can be NULL if not needed