Fix compiler performance warning

This commit is contained in:
Oliver Hamlet
2017-02-07 18:26:36 +00:00
parent c0bf704d11
commit b05baad2dd
+2 -2
View File
@@ -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();
}
};