mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove unnecessary copy of GridView.
This commit is contained in:
parent
2ba830ebca
commit
4131572a7b
@ -45,8 +45,7 @@ class ThreadedEntityIterator
|
||||
using EntityIterator = typename GridView::template Codim<codim>::Iterator;
|
||||
public:
|
||||
ThreadedEntityIterator(const GridView& gridView)
|
||||
: gridView_(gridView)
|
||||
, sequentialIt_(gridView_.template begin<codim>())
|
||||
: sequentialIt_(gridView.template begin<codim>())
|
||||
, sequentialEnd_(gridView.template end<codim>())
|
||||
{ }
|
||||
|
||||
@ -90,7 +89,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
GridView gridView_;
|
||||
EntityIterator sequentialIt_;
|
||||
EntityIterator sequentialEnd_;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user