@@ -88,7 +88,7 @@ class AddressTablePriv
8888 QString::fromStdString (EncodeDestination (address.dest ))));
8989 }
9090 }
91- // qLowerBound () and qUpperBound () require our cachedAddressTable list to be sorted in asc order
91+ // std::lower_bound () and std::upper_bound () require our cachedAddressTable list to be sorted in asc order
9292 // Even though the map is already sorted this re-sorting step is needed because the originating map
9393 // is sorted by binary address, not by base58() address.
9494 std::sort (cachedAddressTable.begin (), cachedAddressTable.end (), AddressTableEntryLessThan ());
@@ -97,9 +97,9 @@ class AddressTablePriv
9797 void updateEntry (const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
9898 {
9999 // Find address / label in model
100- QList<AddressTableEntry>::iterator lower = qLowerBound (
100+ QList<AddressTableEntry>::iterator lower = std::lower_bound (
101101 cachedAddressTable.begin (), cachedAddressTable.end (), address, AddressTableEntryLessThan ());
102- QList<AddressTableEntry>::iterator upper = qUpperBound (
102+ QList<AddressTableEntry>::iterator upper = std::upper_bound (
103103 cachedAddressTable.begin (), cachedAddressTable.end (), address, AddressTableEntryLessThan ());
104104 int lowerIndex = (lower - cachedAddressTable.begin ());
105105 int upperIndex = (upper - cachedAddressTable.begin ());
0 commit comments