From f3e457a1952a7107c74338c49984f568c9931a8a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 30 Jul 2014 11:57:40 -0400 Subject: [PATCH] add missing Ord constraint (fixes android build) Probably the new ghc used on android is the root cause of needing this constraint. --- Annex/Branch/Transitions.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/Branch/Transitions.hs b/Annex/Branch/Transitions.hs index 4c39f198f1..f5833c0bca 100644 --- a/Annex/Branch/Transitions.hs +++ b/Annex/Branch/Transitions.hs @@ -51,7 +51,7 @@ dropDead f content trustmap = case getLogVariety f of Just OtherLog -> PreserveFile Nothing -> PreserveFile -dropDeadFromMapLog :: TrustMap -> (k -> UUID) -> M.Map k v -> M.Map k v +dropDeadFromMapLog :: Ord k => TrustMap -> (k -> UUID) -> M.Map k v -> M.Map k v dropDeadFromMapLog trustmap getuuid = M.filterWithKey $ \k _v -> notDead trustmap getuuid k {- Presence logs can contain UUIDs or other values. Any line that matches