Do not use flat_set anymore gives compilation issues.
Not worth the time solving the issue without having prove of a clear benefit of using flat_set over unordered_set.
This commit is contained in:
parent
1854a4bdaa
commit
6a2c8ec5e0
5 changed files with 13 additions and 11 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#include "CustomDataRole.h"
|
||||
#include "PgLabItemDelegate.h"
|
||||
#include <QStringBuilder>
|
||||
#include <boost/container/flat_set.hpp>
|
||||
#include <unordered_set>
|
||||
#include "SqlFormattingUtils.h"
|
||||
|
||||
ColumnPage::ColumnPage(QWidget *parent)
|
||||
|
|
@ -57,7 +57,7 @@ void ColumnPage::setData(std::shared_ptr<const PgDatabaseCatalog> cat, const std
|
|||
void ColumnPage::tableView_selectionChanged(const QItemSelection &/*selected*/, const QItemSelection &/*deselected*/)
|
||||
{
|
||||
auto&& indexes = m_tableView->selectionModel()->selectedIndexes();
|
||||
boost::container::flat_set<int> rijen;
|
||||
std::unordered_set<int> rijen;
|
||||
for (const auto &e : indexes)
|
||||
rijen.insert(m_sortFilterProxy->mapToSource(e).row());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue