From 1efe069a567b1e4c12c0712ea118bac79a32b293 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 20 May 2018 01:37:53 -0700 Subject: [PATCH] ircd::db: Remove the row tuple template constructor. --- include/ircd/db/row.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/ircd/db/row.h b/include/ircd/db/row.h index c4cfa76c8..8d1708025 100644 --- a/include/ircd/db/row.h +++ b/include/ircd/db/row.h @@ -59,13 +59,6 @@ struct ircd::db::row const vector_view &buf = {}, gopts opts = {}); - template - row(database &, - const string_view &key = {}, - const json::tuple & = {}, - const vector_view &buf = {}, - gopts opts = {}); - template friend size_t seek(row &, const pos &); }; @@ -102,21 +95,6 @@ struct ircd::db::row::delta {} }; -template -ircd::db::row::row(database &d, - const string_view &key, - const json::tuple &t, - const vector_view &buf, - gopts opts) -:row{[&d, &key, &t, &buf, &opts] -() -> row -{ - static const json::keys> cols; - return { d, key, cols, buf, opts }; -}()} -{ -} - inline ircd::db::cell & ircd::db::row::operator[](const size_t &i) {