mirror of
https://github.com/matrix-construct/construct
synced 2024-11-22 01:41:41 +01:00
ircd::versions: Minor cleanup instance_list related.
This commit is contained in:
parent
3c9a4f8c57
commit
759871ce8e
2 changed files with 5 additions and 12 deletions
|
@ -73,16 +73,9 @@ struct ircd::versions
|
||||||
~versions() noexcept;
|
~versions() noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace ircd
|
|
||||||
{
|
|
||||||
template<>
|
template<>
|
||||||
decltype(versions::allocator)
|
decltype(ircd::versions::list)
|
||||||
instance_list<versions>::allocator;
|
ircd::instance_list<ircd::versions>::list;
|
||||||
|
|
||||||
template<>
|
|
||||||
decltype(versions::list)
|
|
||||||
instance_list<versions>::list;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline ircd::versions::operator
|
inline ircd::versions::operator
|
||||||
const long &()
|
const long &()
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
decltype(ircd::util::instance_list<ircd::versions>::allocator)
|
decltype(ircd::versions::allocator)
|
||||||
ircd::util::instance_list<ircd::versions>::allocator
|
ircd::util::instance_list<ircd::versions>::allocator
|
||||||
{};
|
{};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
decltype(ircd::util::instance_list<ircd::versions>::list)
|
decltype(ircd::versions::list)
|
||||||
ircd::util::instance_list<ircd::versions>::list
|
ircd::util::instance_list<ircd::versions>::list
|
||||||
{
|
{
|
||||||
allocator
|
allocator
|
||||||
|
|
Loading…
Reference in a new issue