meta: make meta_iterator::operator-> const as it ought to be
This commit is contained in:
@@ -1542,7 +1542,7 @@ public:
|
||||
* @brief Access operator for accessing the pointed opaque object.
|
||||
* @return The element to which the iterator points.
|
||||
*/
|
||||
[[nodiscard]] pointer operator->() ENTT_NOEXCEPT {
|
||||
[[nodiscard]] pointer operator->() const ENTT_NOEXCEPT {
|
||||
return operator*();
|
||||
}
|
||||
|
||||
@@ -1749,7 +1749,7 @@ public:
|
||||
* @brief Access operator for accessing the pointed opaque object.
|
||||
* @return The element to which the iterator points.
|
||||
*/
|
||||
[[nodiscard]] pointer operator->() ENTT_NOEXCEPT {
|
||||
[[nodiscard]] pointer operator->() const ENTT_NOEXCEPT {
|
||||
return operator*();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user