diff --git a/include/ircd/db/database/comparator.h b/include/ircd/db/database/comparator.h index 7801da5cd..731c52fed 100644 --- a/include/ircd/db/database/comparator.h +++ b/include/ircd/db/database/comparator.h @@ -29,8 +29,5 @@ struct ircd::db::database::comparator final bool Equal(const Slice &a, const Slice &b) const noexcept override; const char *Name() const noexcept override; - comparator(database *const &d, db::comparator user) - :d{d} - ,user{std::move(user)} - {} + comparator(database *const &d, db::comparator user); }; diff --git a/ircd/db.cc b/ircd/db.cc index 8e03c6ef4..cd1e848cc 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -1259,6 +1259,16 @@ catch(const std::out_of_range &e) // database::comparator // +ircd::db::database::comparator::comparator(database *const &d, + db::comparator user) +:d{d} +,user +{ + std::move(user) +} +{ +} + const char * ircd::db::database::comparator::Name() const noexcept