diff options
| author | Jonah BrĂ¼chert <jbb.prv@gmx.de> | 2019-05-14 13:10:31 +0000 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2019-09-03 16:10:51 +0200 |
| commit | be4aee23a4ce3e6791a4a46651e714e74b287def (patch) | |
| tree | b9f2e356cba9f4157edb26726548c4bf68dd5c48 /src/base/QXmppJingleIq.cpp | |
| parent | e6eb0b78d0cb17fccd5ddb60966ba2a0a2d2b593 (diff) | |
| download | qxmpp-be4aee23a4ce3e6791a4a46651e714e74b287def.tar.gz | |
Port deprecated qSort invocations to std::sort
Diffstat (limited to 'src/base/QXmppJingleIq.cpp')
| -rw-r--r-- | src/base/QXmppJingleIq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppJingleIq.cpp b/src/base/QXmppJingleIq.cpp index c652887e..4fcd5bec 100644 --- a/src/base/QXmppJingleIq.cpp +++ b/src/base/QXmppJingleIq.cpp @@ -576,7 +576,7 @@ QString QXmppJingleIq::Content::toSdp() const QHostAddress localRtpAddress = QHostAddress::Any; quint16 localRtpPort = 0; QList<QXmppJingleCandidate> sortedCandidates = d->transportCandidates; - qSort(sortedCandidates.begin(), sortedCandidates.end(), candidateLessThan); + std::sort(sortedCandidates.begin(), sortedCandidates.end(), candidateLessThan); foreach (const QXmppJingleCandidate &candidate, sortedCandidates) { if (candidate.component() == RTP_COMPONENT) { localRtpAddress = candidate.host(); |
