XPath: Fixed sorting bug
git-svn-id: http://pugixml.googlecode.com/svn/trunk@720 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
9f68dec787
commit
e25b73936e
@ -4588,7 +4588,7 @@ namespace pstd
|
||||
I hole = it;
|
||||
|
||||
// move hole backwards
|
||||
while (!pred(*(hole - 1), val))
|
||||
while (pred(val, *(hole - 1)))
|
||||
{
|
||||
*hole = *(hole - 1);
|
||||
hole--;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user