0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db: Minor cleanup.

This commit is contained in:
Jason Volk 2018-05-14 15:46:11 -07:00
parent 61630ea308
commit 507b8e4f1c
2 changed files with 4 additions and 3 deletions

View file

@ -20,11 +20,10 @@
/// points to an internally managed database::column.
namespace ircd::db
{
std::shared_ptr<const database::column> shared_from(const database::column &);
std::shared_ptr<database::column> shared_from(database::column &);
const database::descriptor &describe(const database::column &);
const std::string &name(const database::column &);
uint32_t id(const database::column &);
void drop(database::column &); // Request to erase column from db
}
@ -57,4 +56,7 @@ struct ircd::db::database::column final
column &operator=(column &&) = delete;
column &operator=(const column &) = delete;
~column() noexcept;
friend std::shared_ptr<const column> shared_from(const column &);
friend std::shared_ptr<column> shared_from(column &);
};

View file

@ -4313,7 +4313,6 @@ const
return c->descriptor;
}
///////////////////////////////////////////////////////////////////////////////
//
// column::const_iterator
//