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