mirror of
https://github.com/matrix-construct/construct
synced 2024-11-21 17:31:21 +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;
|
||||
};
|
||||
|
||||
namespace ircd
|
||||
{
|
||||
template<>
|
||||
decltype(versions::allocator)
|
||||
instance_list<versions>::allocator;
|
||||
|
||||
template<>
|
||||
decltype(versions::list)
|
||||
instance_list<versions>::list;
|
||||
}
|
||||
decltype(ircd::versions::list)
|
||||
ircd::instance_list<ircd::versions>::list;
|
||||
|
||||
inline ircd::versions::operator
|
||||
const long &()
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
//
|
||||
|
||||
template<>
|
||||
decltype(ircd::util::instance_list<ircd::versions>::allocator)
|
||||
decltype(ircd::versions::allocator)
|
||||
ircd::util::instance_list<ircd::versions>::allocator
|
||||
{};
|
||||
|
||||
template<>
|
||||
decltype(ircd::util::instance_list<ircd::versions>::list)
|
||||
decltype(ircd::versions::list)
|
||||
ircd::util::instance_list<ircd::versions>::list
|
||||
{
|
||||
allocator
|
||||
|
|
Loading…
Reference in a new issue