diff OrthancFramework/Sources/JobsEngine/JobsRegistry.h @ 4203:4d42408da117

improving const-correctness in ParsedDicomFile
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 15:01:31 +0200
parents 2007ab69ac16
children b30a8de92ad9
line wrap: on
line diff
--- a/OrthancFramework/Sources/JobsEngine/JobsRegistry.h	Thu Sep 17 08:35:11 2020 +0200
+++ b/OrthancFramework/Sources/JobsEngine/JobsRegistry.h	Thu Sep 17 15:01:31 2020 +0200
@@ -71,8 +71,8 @@
 
     struct PriorityComparator
     {
-      bool operator() (JobHandler*& a,
-                       JobHandler*& b) const;
+      bool operator() (JobHandler* const& a,
+                       JobHandler* const& b) const;
     };
 
     typedef std::map<std::string, JobHandler*>              JobsIndex;