0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02:00

ircd::db::comparator: Elide std::function wrapper for less function.

This commit is contained in:
Jason Volk 2020-07-27 21:29:28 -07:00
parent 41db97fec0
commit 6c2736f592

View file

@ -36,7 +36,7 @@ struct ircd::db::comparator
using successor_function = void (std::string &); using successor_function = void (std::string &);
string_view name; string_view name;
std::function<less_function> less; less_function *less {nullptr};
std::function<equal_function> equal; std::function<equal_function> equal;
std::function<separator_function> separator; std::function<separator_function> separator;
std::function<successor_function> successor; std::function<successor_function> successor;