diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2020-01-19 16:09:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 16:09:25 +0100 |
commit | 4ff19c826072167417492277a22b16d767675f26 (patch) | |
tree | e38faffa057bf7556d3ed3ae7f0f35f19f8818cf /gui | |
parent | b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (diff) | |
parent | 714769e1b83dd548967a1f6bc614b29abfc22bc1 (diff) | |
download | nextpnr-4ff19c826072167417492277a22b16d767675f26.tar.gz nextpnr-4ff19c826072167417492277a22b16d767675f26.tar.bz2 nextpnr-4ff19c826072167417492277a22b16d767675f26.zip |
Merge pull request #384 from YosysHQ/warning_fixes
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()); |