Skip to content

Commit

Permalink
Remove unused comparator
Browse files Browse the repository at this point in the history
Co-authored-by: scarf <[email protected]>
  • Loading branch information
Coolthulhu and scarf005 authored Nov 28, 2023
1 parent 491236b commit a1b6779
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/effect.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ struct caused_effect {
void load( const JsonObject &obj );
};

struct caused_effect_sort_less {
public:
bool operator()( const caused_effect &lhs, const caused_effect &rhs ) const {
if( lhs.type != rhs.type ) {
return lhs.type < rhs.type;
}
return lhs.intensity_requirement < rhs.intensity_requirement;
}
};

class effect_type
{
Expand Down

0 comments on commit a1b6779

Please sign in to comment.