0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::db: Remove the row tuple template constructor.

This commit is contained in:
Jason Volk 2018-05-20 01:37:53 -07:00
parent fb1c7236ac
commit 1efe069a56

View file

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