mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
Core: Fixed typename issue with SortIndex
git-svn-id: svn://ultimatepp.org/upp/trunk@6438 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dc484b54f3
commit
85c1312103
1 changed files with 3 additions and 5 deletions
|
|
@ -1613,7 +1613,7 @@ void SortIndex(Index& index, const Less& less)
|
|||
template <class Index>
|
||||
void SortIndex(Index& index)
|
||||
{
|
||||
SortIndex(index, StdLess<Index::ValueType>());
|
||||
SortIndex(index, StdLess<typename Index::ValueType>());
|
||||
}
|
||||
|
||||
template <class Index, class Less>
|
||||
|
|
@ -1627,9 +1627,9 @@ void StableSortIndex(Index& index, const Less& less)
|
|||
template <class Index>
|
||||
void StableSortIndex(Index& index)
|
||||
{
|
||||
StableSortIndex(index, StdLess<Index::ValueType>());
|
||||
StableSortIndex(index, StdLess<typename Index::ValueType>());
|
||||
}
|
||||
/*
|
||||
|
||||
// OLD DEPRECATED NAMES:
|
||||
template <class C> // Deprecated
|
||||
int MinIndex(const C& c) { return FindMin(c); }
|
||||
|
|
@ -1639,5 +1639,3 @@ int MaxIndex(const C& c) { return FindMax(c); }
|
|||
|
||||
template <class C> // Deprecated
|
||||
typename C::ValueType Sum0(const C& c) { return Sum(c); }
|
||||
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue