remove back-compat code for old version of containers

Already b-d on a newer version.
This commit is contained in:
Joey Hess 2015-06-06 15:23:53 -04:00
parent e0784f51c6
commit 6383d22ffa

View file

@ -24,7 +24,6 @@
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE CPP #-}
module Logs.MetaData (
getCurrentMetaData,
@ -157,11 +156,7 @@ simplifyLog s = case sl of
else s
_ -> s
where
#if MIN_VERSION_containers(0,5,0)
sl = S.toDescList s
#else
sl = reverse (S.toAscList s)
#endif
go c _ [] = c
go c newer (l:ls)