*: use transparent comparison for std::{map,set} with std::string keys
This avoids many std::string temporaries for lookups.
This commit is contained in:
@@ -129,7 +129,7 @@ StickerDatabase::LoadValue(const char *type, const char *uri, const char *name)
|
||||
}
|
||||
|
||||
void
|
||||
StickerDatabase::ListValues(std::map<std::string, std::string> &table,
|
||||
StickerDatabase::ListValues(std::map<std::string, std::string, std::less<>> &table,
|
||||
const char *type, const char *uri)
|
||||
{
|
||||
sqlite3_stmt *const s = stmt[STICKER_SQL_LIST];
|
||||
|
Reference in New Issue
Block a user