Skip to content

Commit 541bbcc

Browse files
committed
Modernize to std::greater<> to please code checker
1 parent ded827e commit 541bbcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/ITS/tracking/src/LineVertexerHelpers.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ bounded_vector<bounded_vector<int>> buildCoarseClusters(std::span<const LineRef>
743743

744744
using ActiveEntry = std::pair<TimeStampType, int>;
745745
bounded_vector<ActiveEntry> activeEntries(settings.memoryPool.get());
746-
std::priority_queue<ActiveEntry, bounded_vector<ActiveEntry>, std::greater<ActiveEntry>> activeByUpper(std::greater<ActiveEntry>{}, std::move(activeEntries));
746+
std::priority_queue<ActiveEntry, bounded_vector<ActiveEntry>, std::greater<>> activeByUpper(std::greater<>{}, std::move(activeEntries));
747747
bounded_vector<uint8_t> activeMask(lineRefs.size(), 0, settings.memoryPool.get());
748748
bounded_vector<bounded_vector<int>> activeByZBin(settings.memoryPool.get());
749749
activeByZBin.reserve(nZBins);

0 commit comments

Comments
 (0)