Remove unused DbTypeRegistry

This commit is contained in:
Alexander A. Klimov 2026-01-26 14:37:59 +01:00
parent b4192bd80a
commit 6223bd5f31
2 changed files with 0 additions and 11 deletions

View file

@ -8,10 +8,6 @@
using namespace icinga;
INITIALIZE_ONCE_WITH_PRIORITY([]{
DbTypeRegistry::GetInstance()->Freeze();
}, InitializePriority::FreezeNamespaces);
DbType::DbType(String name, String table, long tid, String idcolumn, DbType::ObjectFactory factory)
: m_Name(std::move(name)), m_Table(std::move(table)), m_TypeID(tid), m_IDColumn(std::move(idcolumn)), m_ObjectFactory(std::move(factory))
{ }

View file

@ -56,13 +56,6 @@ private:
ObjectMap m_Objects;
};
/**
* A registry for DbType objects.
*
* @ingroup ido
*/
using DbTypeRegistry = Registry<DbType::Ptr>;
/**
* Factory function for DbObject-based classes.
*