container: minor changes

This commit is contained in:
Michele Caini
2024-06-13 18:39:48 +02:00
parent e262b60225
commit 04460d336e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ public:
}
[[nodiscard]] constexpr reference operator*() const noexcept {
return *operator->();
return operator[](0);
}
template<typename Lhs, typename Rhs>
+1 -1
View File
@@ -82,7 +82,7 @@ public:
}
[[nodiscard]] constexpr reference operator*() const noexcept {
return *operator->();
return operator[](0);
}
template<typename... Lhs, typename... Rhs>