add missing Ord constraint (fixes android build)

Probably the new ghc used on android is the root cause of needing this
constraint.
This commit is contained in:
Joey Hess 2014-07-30 11:57:40 -04:00
parent 83c58f17e0
commit f3e457a195

View file

@ -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