view/group: cleanup
This commit is contained in:
@@ -186,7 +186,7 @@ public:
|
||||
*/
|
||||
template<std::size_t Index>
|
||||
[[nodiscard]] decltype(auto) storage() const noexcept {
|
||||
static constexpr auto offset = sizeof...(Get);
|
||||
constexpr auto offset = sizeof...(Get);
|
||||
|
||||
if constexpr(Index < offset) {
|
||||
return *std::get<Index>(pools);
|
||||
@@ -584,7 +584,7 @@ public:
|
||||
*/
|
||||
template<std::size_t Index>
|
||||
[[nodiscard]] decltype(auto) storage() const noexcept {
|
||||
static constexpr auto offset = sizeof...(Owned) + sizeof...(Get);
|
||||
constexpr auto offset = sizeof...(Owned) + sizeof...(Get);
|
||||
|
||||
if constexpr(Index < offset) {
|
||||
return *std::get<Index>(pools);
|
||||
|
||||
@@ -330,7 +330,7 @@ public:
|
||||
*/
|
||||
template<std::size_t Index>
|
||||
[[nodiscard]] decltype(auto) storage() const noexcept {
|
||||
static constexpr auto offset = sizeof...(Get);
|
||||
constexpr auto offset = sizeof...(Get);
|
||||
|
||||
if constexpr(Index < offset) {
|
||||
return *std::get<Index>(pools);
|
||||
|
||||
Reference in New Issue
Block a user