mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Return const_iterator from Column::begin/end const
This is what should normally happen, even if it does not change anything given that `Column::const_iterator` is currently a typedef for `Column::iterator`.
This commit is contained in:
parent
e539e1cb52
commit
2520ad4b6e
@ -89,8 +89,8 @@ namespace Catch {
|
||||
}
|
||||
|
||||
size_t width() const { return m_width; }
|
||||
iterator begin() const { return iterator( *this ); }
|
||||
iterator end() const { return { *this, iterator::EndTag{} }; }
|
||||
const_iterator begin() const { return const_iterator( *this ); }
|
||||
const_iterator end() const { return { *this, const_iterator::EndTag{} }; }
|
||||
|
||||
friend std::ostream& operator<<( std::ostream& os,
|
||||
Column const& col );
|
||||
|
Loading…
Reference in New Issue
Block a user