mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix compiler performance warning
This commit is contained in:
@@ -67,8 +67,8 @@ private:
|
||||
namespace std {
|
||||
template<>
|
||||
struct less<std::shared_ptr<const loot::Plugin>> {
|
||||
size_t operator() (const std::shared_ptr<const loot::Plugin>& lhs,
|
||||
const std::shared_ptr<const loot::Plugin>& rhs) const {
|
||||
bool operator() (const std::shared_ptr<const loot::Plugin>& lhs,
|
||||
const std::shared_ptr<const loot::Plugin>& rhs) const {
|
||||
return lhs->GetLowercasedName() < rhs->GetLowercasedName();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user