comparison OrthancFramework/Sources/JobsEngine/JobsRegistry.cpp @ 4203:4d42408da117

improving const-correctness in ParsedDicomFile
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 15:01:31 +0200
parents 7c9ff821063a
children 0ae2ca210077
comparison
equal deleted inserted replaced
4202:2007ab69ac16 4203:4d42408da117
310 lastStatus_ = JobStatus(ErrorCode_Success, "", *job_); 310 lastStatus_ = JobStatus(ErrorCode_Success, "", *job_);
311 } 311 }
312 }; 312 };
313 313
314 314
315 bool JobsRegistry::PriorityComparator::operator() (JobHandler*& a, 315 bool JobsRegistry::PriorityComparator::operator() (JobHandler* const& a,
316 JobHandler*& b) const 316 JobHandler* const& b) const
317 { 317 {
318 return a->GetPriority() < b->GetPriority(); 318 return a->GetPriority() < b->GetPriority();
319 } 319 }
320 320
321 321