X-Git-Url: http://nitlanguage.org diff --git a/lib/ordered_tree.nit b/lib/ordered_tree.nit index 3b96bef..7e45aef 100644 --- a/lib/ordered_tree.nit +++ b/lib/ordered_tree.nit @@ -79,7 +79,7 @@ class OrderedTree[E: Object] # Sort roots and other elements using a comparator method # This method basically sorts roots then each group of children - fun sort_with(comparator: AbstractSorter[E]) + fun sort_with(comparator: Comparator[E]) do comparator.sort(roots) for a in sub.values do