group: minor changes

This commit is contained in:
Michele Caini
2022-06-22 09:02:37 +02:00
parent cf401aa0b5
commit 65561fe431

View File

@@ -172,7 +172,7 @@ public:
*/
template<typename Type>
[[nodiscard]] decltype(auto) storage() const noexcept {
return *std::get<index_of<Type>>(pools);
return storage<index_of<Type>>();
}
/**
@@ -560,7 +560,7 @@ public:
*/
template<typename Type>
[[nodiscard]] decltype(auto) storage() const noexcept {
return *std::get<index_of<Type>>(pools);
return storage<index_of<Type>>();
}
/**