Fix build with Benchmark build flag

Broke a while ago during optimisation work, and not noticed since the flag
is disabled by default.

This commit was sponsored by Brock Spratlen on Patreon.
This commit is contained in:
Joey Hess 2020-10-02 13:30:24 -04:00
parent 37b1f2f2ed
commit 37426920d8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 2 additions and 1 deletions

View file

@ -92,7 +92,7 @@ keyN n = mkKey $ \k -> k
}
fileN :: Integer -> TopFilePath
fileN n = asTopFilePath ("file" ++ show n)
fileN n = asTopFilePath (toRawFilePath ("file" ++ show n))
keyMiss :: Key
keyMiss = keyN 0 -- 0 is never stored