diff Resources/Orthanc/Plugins/Samples/Common/DicomPath.h @ 32:517c46f527cd

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2016 11:00:23 +0100
parents 9aace933cb64
children 9ee7e2f5f1a3
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/Samples/Common/DicomPath.h	Fri Dec 16 15:41:20 2016 +0100
+++ b/Resources/Orthanc/Plugins/Samples/Common/DicomPath.h	Mon Dec 19 11:00:23 2016 +0100
@@ -50,30 +50,30 @@
     const Prefix& GetPrefixItem(size_t depth) const;
 
   public:
-    DicomPath(const DicomTag& finalTag) :
+    DicomPath(DicomTag finalTag) :
     finalTag_(finalTag)
     {
     }
 
-    DicomPath(const DicomTag& sequence,
+    DicomPath(DicomTag sequence,
               size_t index,
-              const DicomTag& tag);
+              DicomTag tag);
 
-    DicomPath(const DicomTag& sequence1,
+    DicomPath(DicomTag sequence1,
               size_t index1,
-              const DicomTag& sequence2,
+              DicomTag sequence2,
               size_t index2,
-              const DicomTag& tag);
+              DicomTag tag);
 
-    DicomPath(const DicomTag& sequence1,
+    DicomPath(DicomTag sequence1,
               size_t index1,
-              const DicomTag& sequence2,
+              DicomTag sequence2,
               size_t index2,
-              const DicomTag& sequence3,
+              DicomTag sequence3,
               size_t index3,
-              const DicomTag& tag);
+              DicomTag tag);
 
-    void AddToPrefix(const DicomTag& tag,
+    void AddToPrefix(DicomTag tag,
                      size_t position)
     {
       prefix_.push_back(std::make_pair(tag, position));