Skip to content

Commit 9af158d

Browse files
committed
fix HeapOps
1 parent 89241f0 commit 9af158d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/mir/container/binaryheap.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ BinaryHeap!(less, Store) heapify(alias less = "a < b", Store)(Store s,
424424
/// Heap operations for random-access ranges
425425
template HeapOps(alias less, Range)
426426
{
427+
import std.range.primitives : hasSwappableElements, hasAssignableElements;
427428
import mir.functional;
428429
import std.algorithm.mutation : swapAt;
429430

0 commit comments

Comments
 (0)