diff --git a/src/report_generator.cpp b/src/report_generator.cpp index 4adc65672e..3cf74160f1 100644 --- a/src/report_generator.cpp +++ b/src/report_generator.cpp @@ -95,25 +95,6 @@ struct order_by_status { }; -struct order_by_priority { - explicit order_by_priority(lwg::section_map §ions) - : section_db(sections) - { - } - - auto operator()(lwg::issue const & x, lwg::issue const & y) const -> bool { - assert(!x.tags.empty()); - assert(!y.tags.empty()); - auto tie = [this](auto& i) { - return std::tie(i.priority, section_db[i.tags.front()], i.num); - }; - return tie(x) < tie(y); - } - -private: - lwg::section_map& section_db; -}; - // Replace spaces to make a string usable as an 'id' attribute, // or as an URL fragment (#foo) that links to an 'id' attribute. inline std::string spaces_to_underscores(std::string s) { @@ -673,7 +654,10 @@ R"(