diff --git a/include/ircd/db/database/column.h b/include/ircd/db/database/column.h index f4e8961db..5224cf401 100644 --- a/include/ircd/db/database/column.h +++ b/include/ircd/db/database/column.h @@ -20,11 +20,10 @@ /// points to an internally managed database::column. namespace ircd::db { - std::shared_ptr shared_from(const database::column &); - std::shared_ptr 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 shared_from(const column &); + friend std::shared_ptr shared_from(column &); }; diff --git a/ircd/db.cc b/ircd/db.cc index 7f54f58fb..6008977a6 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -4313,7 +4313,6 @@ const return c->descriptor; } -/////////////////////////////////////////////////////////////////////////////// // // column::const_iterator //