From 58ffceec4cf10aa12ca15596a8cf1209b2b2b129 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 12 May 2018 18:37:28 -0700 Subject: [PATCH] ircd::db: Simplify row columns from tuple transform. --- include/ircd/db/row.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/ircd/db/row.h b/include/ircd/db/row.h index b0506cfe1..60006c05d 100644 --- a/include/ircd/db/row.h +++ b/include/ircd/db/row.h @@ -111,8 +111,7 @@ ircd::db::row::row(database &d, :row{[&d, &key, &t, &buf, &opts] () -> row { - std::array cols; - json::_key_transform(t, std::begin(cols), std::end(cols)); + static const typename json::tuple::keys cols; return { d, key, cols, buf, opts }; }()} {