mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db: Remove the row tuple template constructor.
This commit is contained in:
parent
fb1c7236ac
commit
1efe069a56
1 changed files with 0 additions and 22 deletions
|
@ -59,13 +59,6 @@ struct ircd::db::row
|
|||
const vector_view<cell> &buf = {},
|
||||
gopts opts = {});
|
||||
|
||||
template<class... T>
|
||||
row(database &,
|
||||
const string_view &key = {},
|
||||
const json::tuple<T...> & = {},
|
||||
const vector_view<cell> &buf = {},
|
||||
gopts opts = {});
|
||||
|
||||
template<class pos> friend size_t seek(row &, const pos &);
|
||||
};
|
||||
|
||||
|
@ -102,21 +95,6 @@ struct ircd::db::row::delta
|
|||
{}
|
||||
};
|
||||
|
||||
template<class... T>
|
||||
ircd::db::row::row(database &d,
|
||||
const string_view &key,
|
||||
const json::tuple<T...> &t,
|
||||
const vector_view<cell> &buf,
|
||||
gopts opts)
|
||||
:row{[&d, &key, &t, &buf, &opts]
|
||||
() -> row
|
||||
{
|
||||
static const json::keys<json::tuple<T...>> cols;
|
||||
return { d, key, cols, buf, opts };
|
||||
}()}
|
||||
{
|
||||
}
|
||||
|
||||
inline ircd::db::cell &
|
||||
ircd::db::row::operator[](const size_t &i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue