# HG changeset patch # User jwe # Date 1083080830 0 # Node ID d7bad86d3416ead380897f107a2692aaf3a0bb2e # Parent 7514d69b422a52602a0786615970cce2353cbbf9 [project @ 2004-04-27 15:46:58 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-27 David Bateman + + * DLD-FUNCTIONS/sort.cc: Add missing "class" keywords to template + instantiations. + 2004-04-22 John W. Eaton * pt-plot.cc (Fclearplot): Temporarily turn off automatic_replot. diff --git a/src/DLD-FUNCTIONS/sort.cc b/src/DLD-FUNCTIONS/sort.cc --- a/src/DLD-FUNCTIONS/sort.cc +++ b/src/DLD-FUNCTIONS/sort.cc @@ -68,8 +68,8 @@ return (a->vec < b->vec); } -template octave_sort; -template octave_sort; +template class octave_sort; +template class octave_sort; #else struct vec_index { @@ -89,8 +89,8 @@ return (xisnan(b->vec) || (a->vec < b->vec)); } -template octave_sort; -template octave_sort; +template class octave_sort; +template class octave_sort; #endif struct complex_vec_index @@ -105,7 +105,7 @@ return (xisnan(b->vec) || (abs(a->vec) < abs(b->vec))); } -template octave_sort; +template class octave_sort; static octave_value_list mx_sort (NDArray &m, bool return_idx, int dim)