From 85c1312103ff1deef46e6e819fb17cbdbaa868ca Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 16 Oct 2013 12:07:22 +0000 Subject: [PATCH] Core: Fixed typename issue with SortIndex git-svn-id: svn://ultimatepp.org/upp/trunk@6438 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Algo.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/uppsrc/Core/Algo.h b/uppsrc/Core/Algo.h index 4a270b4b0..1ba56f129 100644 --- a/uppsrc/Core/Algo.h +++ b/uppsrc/Core/Algo.h @@ -1613,7 +1613,7 @@ void SortIndex(Index& index, const Less& less) template void SortIndex(Index& index) { - SortIndex(index, StdLess()); + SortIndex(index, StdLess()); } template @@ -1627,9 +1627,9 @@ void StableSortIndex(Index& index, const Less& less) template void StableSortIndex(Index& index) { - StableSortIndex(index, StdLess()); + StableSortIndex(index, StdLess()); } -/* + // OLD DEPRECATED NAMES: template // Deprecated int MinIndex(const C& c) { return FindMin(c); } @@ -1639,5 +1639,3 @@ int MaxIndex(const C& c) { return FindMax(c); } template // Deprecated typename C::ValueType Sum0(const C& c) { return Sum(c); } - -*/ \ No newline at end of file