diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-13 18:13:33 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-09-13 18:13:33 +0000 |
commit | e25b73936eec14c90dcef31866f0e1cab15edfd6 (patch) | |
tree | 1bf4f0bd2d380912dbf250ffb1f99c92a77a44c6 /src | |
parent | 9f68dec787de7620f1152a2cd5c1c17aecc55b50 (diff) |
XPath: Fixed sorting bug
git-svn-id: http://pugixml.googlecode.com/svn/trunk@720 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index e974794..415fb24 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -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--; |