0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +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; ~versions() noexcept;
}; };
namespace ircd template<>
{ decltype(ircd::versions::list)
template<> ircd::instance_list<ircd::versions>::list;
decltype(versions::allocator)
instance_list<versions>::allocator;
template<>
decltype(versions::list)
instance_list<versions>::list;
}
inline ircd::versions::operator inline ircd::versions::operator
const long &() const long &()

View file

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