summaryrefslogtreecommitdiffstats
path: root/util/qlalr/compress.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-15 21:24:28 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 09:26:43 +0100
commit327424d60819e790dff78bff309e97ec08dcccd8 (patch)
tree1d205678bf8723c3c89d6bc21b9ce17be9644b11 /util/qlalr/compress.cpp
parentf98a96fded6338f5f270541d3888e20cf6837af6 (diff)
port to std::algorithm
Change-Id: I537b9ffc3eed0891bed0fcae3e0d79d70cc46cec Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/qlalr/compress.cpp')
-rw-r--r--util/qlalr/compress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qlalr/compress.cpp b/util/qlalr/compress.cpp
index aefcb03cd6..4ae0716047 100644
--- a/util/qlalr/compress.cpp
+++ b/util/qlalr/compress.cpp
@@ -174,7 +174,7 @@ void Compress::operator () (int *table, int row_count, int column_count)
sortedTable [i].assign (i, begin, end);
}
- qSort (sortedTable.begin (), sortedTable.end (), _SortUncompressedRow ());
+ std::sort (sortedTable.begin (), sortedTable.end (), _SortUncompressedRow ());
#ifndef QLALR_NO_CHECK_SORTED_TABLE
int previous_zeros = INT_MAX;