UDSEntry::insert -> UDSEntry::fastInsert

we're clearing the UDSEntry just before the inserts so it's safe to
assume we're not inserting something that was there already
This commit is contained in:
Albert Astals Cid 2020-09-13 01:25:54 +02:00
parent 8a1bef81f8
commit 4085181512

View file

@ -182,13 +182,13 @@ bool ProtocolMSITS::parseLoadAndLookup(const QUrl &url, QString &abspath)
*/
static void app_entry(UDSEntry &e, unsigned int uds, const QString &str)
{
e.insert(uds, str);
e.fastInsert(uds, str);
}
// appends an int with the UDS-ID uds
static void app_entry(UDSEntry &e, unsigned int uds, long l)
{
e.insert(uds, l);
e.fastInsert(uds, l);
}
// internal function