Mercurial > projects > dwt-addons
changeset 171:ee33f30b14e2
fix always triggered exit
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 10 Sep 2008 22:45:07 +0200 |
parents | 284c2e810329 |
children | d994a8b2cdf7 |
files | dwtx/dwtxhelper/Collection.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtx/dwtxhelper/Collection.d Tue Sep 09 18:46:06 2008 +0200 +++ b/dwtx/dwtxhelper/Collection.d Wed Sep 10 22:45:07 2008 +0200 @@ -2156,8 +2156,8 @@ } tango.core.Array.sort( a, &isLess ); } - static void sort( T : char[] )( T[] a, Comparator c ){ - bool isLess( T o1, T o2 ){ + static void sort( T : String )( String[] a, Comparator c ){ + bool isLess( String o1, String o2 ){ return c.compare( stringcast(o1), stringcast(o2) ) < 0; } tango.core.Array.sort( a, &isLess ); @@ -2279,7 +2279,7 @@ } class LinkedHashMap : HashMap { - static this(){ + this(){ implMissing( __FILE__, __LINE__ ); } } \ No newline at end of file