mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added missing dereference operator.
This commit is contained in:
parent
fa02639dbf
commit
cd42d4af34
@ -485,6 +485,10 @@ public:
|
||||
ASSERT(span_ == rhs.span_);
|
||||
return index_ != rhs.index_;
|
||||
}
|
||||
int operator*()
|
||||
{
|
||||
return (*span_)[index_];
|
||||
}
|
||||
private:
|
||||
const Span* span_;
|
||||
int index_;
|
||||
|
Loading…
Reference in New Issue
Block a user