From a1b677961dcd10cf48a5fb96dafe1d3304e32788 Mon Sep 17 00:00:00 2001 From: Coolthulhu Date: Wed, 29 Nov 2023 00:46:11 +0100 Subject: [PATCH] Remove unused comparator Co-authored-by: scarf --- src/effect.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/effect.h b/src/effect.h index c70a2874a8b2..6ffd44694b8d 100644 --- a/src/effect.h +++ b/src/effect.h @@ -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 {