# HG changeset patch # User Frank Benoit # Date 1221079507 -7200 # Node ID ee33f30b14e2e39d1f9bbfaf3adfbc6f26ccd5b0 # Parent 284c2e810329deabe29baf69ea8ce26c86ac4be0 fix always triggered exit diff -r 284c2e810329 -r ee33f30b14e2 dwtx/dwtxhelper/Collection.d --- 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