mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::db: Use vector for descriptors.
This commit is contained in:
parent
92548464d3
commit
5e137c676f
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ struct ircd::db::database
|
|||
struct comparator;
|
||||
struct prefix_transform;
|
||||
struct column;
|
||||
using description = std::initializer_list<descriptor>;
|
||||
using description = std::vector<descriptor>;
|
||||
|
||||
// central collection of open databases for iteration (non-owning)
|
||||
static std::map<string_view, database *> dbs;
|
||||
|
|
|
@ -358,7 +358,7 @@ ircd::db::database::database(std::string name,
|
|||
|
||||
ircd::db::database::database(std::string name,
|
||||
std::string optstr,
|
||||
const description &description)
|
||||
description description)
|
||||
try
|
||||
:name
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue