From be4aee23a4ce3e6791a4a46651e714e74b287def Mon Sep 17 00:00:00 2001 From: Jonah BrĂ¼chert Date: Tue, 14 May 2019 13:10:31 +0000 Subject: Port deprecated qSort invocations to std::sort --- src/base/QXmppJingleIq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/QXmppJingleIq.cpp') 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 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(); -- cgit v1.2.3