registry: minor changes

This commit is contained in:
Michele Caini
2024-04-18 16:39:27 +02:00
parent 8dbfa40c76
commit 6b06fa9990

View File

@@ -99,7 +99,7 @@ public:
}
[[nodiscard]] constexpr reference operator*() const noexcept {
return {it->first, *it->second};
return operator[](0);
}
[[nodiscard]] constexpr pointer operator->() const noexcept {