Fix: Wrong const iterator type for blender::Vector

This commit is contained in:
Hans Goudey 2022-12-18 18:35:40 -06:00
parent f0ac5e8aec
commit d59f6ffdcb
1 changed files with 2 additions and 2 deletions

View File

@ -902,11 +902,11 @@ class Vector {
std::reverse_iterator<const T *> rbegin() const
{
return std::reverse_iterator<T *>(this->end());
return std::reverse_iterator<const T *>(this->end());
}
std::reverse_iterator<const T *> rend() const
{
return std::reverse_iterator<T *>(this->begin());
return std::reverse_iterator<const T *>(this->begin());
}
/**