Replace qSort with std::sort
This commit is contained in:
parent
3a955f0ced
commit
b6972e4cb9
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ void Device::addLink(const NetworkPackage& identityPackage, DeviceLink* link)
|
|||
connect(link, &DeviceLink::receivedPackage,
|
||||
this, &Device::privateReceivedPackage);
|
||||
|
||||
qSort(m_deviceLinks.begin(), m_deviceLinks.end(), lessThan);
|
||||
std::sort(m_deviceLinks.begin(), m_deviceLinks.end(), lessThan);
|
||||
|
||||
const bool capabilitiesSupported = identityPackage.has(QStringLiteral("incomingCapabilities")) || identityPackage.has(QStringLiteral("outgoingCapabilities"));
|
||||
if (capabilitiesSupported) {
|
||||
|
|
Loading…
Reference in a new issue