Commit 88abca55 authored by Eugene Kosov's avatar Eugene Kosov

fix build (-Werror + -Wignored-qualifiers)

parent a5a7ab19
Subproject commit ed3a91c139175746c5d6903d67ca902d91228f65
Subproject commit 5fa9c4615e71b696b84b4c77aefa197466526a13
......@@ -127,8 +127,6 @@ template <class ElementType> class span {
iterator begin() const { return data_; }
iterator end() const { return data_ + size_; }
const_iterator cbegin() const { return data_; }
const_iterator cend() const { return data_ + size_; }
reverse_iterator rbegin() const
{
return std::reverse_iterator<iterator>(std::advance(end(), -1));
......@@ -138,16 +136,6 @@ template <class ElementType> class span {
return std::reverse_iterator<iterator>(
std::advance(begin(), -1));
}
const_reverse_iterator crbegin() const
{
return std::reverse_iterator<const_iterator>(
std::advance(end(), -1));
}
const_reverse_iterator crend() const
{
return std::reverse_iterator<const_iterator>(
std::advance(begin(), -1));
}
private:
pointer data_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment