0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db: Deinline database::comparator ctor.

This commit is contained in:
Jason Volk 2018-10-31 11:23:30 -07:00
parent fec935463b
commit 895c52694e
2 changed files with 11 additions and 4 deletions

View file

@ -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);
};

View file

@ -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