0
0
Fork 0
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:
Jason Volk 2023-05-01 11:15:07 -07:00
parent 3c9a4f8c57
commit 759871ce8e
2 changed files with 5 additions and 12 deletions

View file

@ -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 &()

View file

@ -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