Skip to content

Commit 6b3a366

Browse files
committed
TOSQUASH: compilation fix
1 parent 83cab54 commit 6b3a366

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Database/LSMTree/Internal.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ import Database.LSMTree.Internal.BlobRef (WeakBlobRef (..))
9696
import qualified Database.LSMTree.Internal.BlobRef as BlobRef
9797
import Database.LSMTree.Internal.Config
9898
import qualified Database.LSMTree.Internal.Cursor as Cursor
99-
import Database.LSMTree.Internal.Entry (Entry)
99+
import Database.LSMTree.Internal.Entry (Entry, unNumEntries)
100100
import Database.LSMTree.Internal.Lookup (ByteCountDiscrepancy,
101101
ResolveSerialisedValue, lookupsIO)
102102
import Database.LSMTree.Internal.MergeSchedule
@@ -1113,7 +1113,7 @@ snapshot resolve snap label th = do
11131113
-- credits as if the buffer was full, and then flush the (possibly)
11141114
-- underfull buffer. However, note that this bit of code
11151115
-- here is probably going to change anyway because of #392
1116-
supplyCredits (Entry.unNumEntries $ case confWriteBufferAlloc conf of AllocNumEntries x -> x) (tableLevels content)
1116+
supplyCredits (unNumEntries $ case confWriteBufferAlloc conf of AllocNumEntries x -> x) (tableLevels content)
11171117
content' <- flushWriteBuffer
11181118
(TraceMerge `contramap` tableTracer th)
11191119
conf

0 commit comments

Comments
 (0)