diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
commit | 38e3b6338c18e77cb14dae594befdbc4f4cdf8d0 (patch) | |
tree | b372c3b6593e3eced7d3bc1b8f6c79ccb4e2749d /gui | |
parent | b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (diff) | |
download | nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.gz nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.bz2 nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.zip |
Various warning fixes
Diffstat (limited to 'gui')
-rw-r--r-- | gui/treemodel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/treemodel.cc b/gui/treemodel.cc index b834c682..97cc8883 100644 --- a/gui/treemodel.cc +++ b/gui/treemodel.cc @@ -93,7 +93,7 @@ void IdStringList::updateElements(Context *ctx, std::vector<IdString> elements) } // Sort new children - qSort(children_.begin(), children_.end(), [&](const Item *a, const Item *b) { + std::sort(children_.begin(), children_.end(), [&](const Item *a, const Item *b) { auto parts_a = alphaNumSplit(a->name()); auto parts_b = alphaNumSplit(b->name()); |