Skip to content
Snippets Groups Projects
Commit 1efccb40 authored by Lasse Hinrichsen-Bischoff's avatar Lasse Hinrichsen-Bischoff Committed by Simon Praetorius
Browse files

[VariableBlockVector] Fix beforeBegin iterator

parent aab39c5a
No related branches found
No related tags found
1 merge request!463Cleanup the VariableBlockVector implementation
......@@ -417,7 +417,7 @@ namespace Dune {
//! @returns an iterator that is positioned before
//! the first entry of the vector.
Iterator beforeBegin () const
Iterator beforeBegin ()
{
return --block.begin();
}
......@@ -450,6 +450,13 @@ namespace Dune {
return --block.end();
}
//! @returns an iterator that is positioned before
//! the first entry of the vector.
ConstIterator beforeBegin () const
{
return --block.begin();
}
//! end ConstIterator
ConstIterator rend () const
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment