Replace QPair with std::pair

This commit is contained in:
Chocobo1
2021-12-27 17:20:26 +08:00
parent 781d7fbf1a
commit 3ea4c66d41
4 changed files with 14 additions and 11 deletions

View File

@@ -33,7 +33,6 @@
#include <QFileDialog>
#include <QMenu>
#include <QMessageBox>
#include <QPair>
#include <QRegularExpression>
#include <QShortcut>
#include <QSignalBlocker>
@@ -664,7 +663,7 @@ void AutomatedRssDownloader::addFeedArticlesToTree(RSS::Feed *feed, const QStrin
// Insert the articles
for (const QString &article : articles)
{
QPair<QString, QString> key(feed->name(), article);
const std::pair<QString, QString> key(feed->name(), article);
if (!m_treeListEntries.contains(key))
{