QSet: Fix Qt Creator build

Amends commit 68cac07d500851209eab93dec771c45ac4864c8a. One QSet()
wrapping was missing.

Task-number: QTBUG-132500
Change-Id: Iee61f1d6613b0220846afffda3a8212053e2183c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Thiago Macieira 2025-02-07 13:37:13 -08:00
parent 6069933b57
commit 03f6f176b1

View File

@ -207,7 +207,7 @@ public:
friend QSet operator+(const QSet &lhs, const QSet &rhs) { return QSet(lhs) += rhs; }
friend QSet operator+(QSet &&lhs, const QSet &rhs) { lhs += rhs; return std::move(lhs); }
friend QSet operator+(const QSet &lhs, QSet &&rhs) { return lhs += std::move(rhs); }
friend QSet operator+(const QSet &lhs, QSet &&rhs) { return QSet(lhs) += std::move(rhs); }
friend QSet operator+(QSet &&lhs, QSet &&rhs) { return std::move(lhs) += std::move(rhs); }
friend QSet operator-(const QSet &lhs, const QSet &rhs) { return QSet(lhs) -= rhs; }