mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
Remove unused DbTypeRegistry
This commit is contained in:
parent
b4192bd80a
commit
6223bd5f31
2 changed files with 0 additions and 11 deletions
|
|
@ -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))
|
||||
{ }
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue