*: use transparent comparison for std::{map,set} with std::string keys
This avoids many std::string temporaries for lookups.
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
*
|
||||
* This method must be thread-safe.
|
||||
*/
|
||||
virtual std::map<std::string, std::string> GetAttributes() const noexcept {
|
||||
virtual std::map<std::string, std::string, std::less<>> GetAttributes() const noexcept {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user