mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-15 02:12:02 -05:00
Added missing dereference operator.
This commit is contained in:
1 parent
fa02639dbf
commit
cd42d4af34
1 file changed
+4
@@ -485,6 +485,10 @@ public:
|
||||
ASSERT(span_ == rhs.span_);
|
||||
return index_ != rhs.index_;
|
||||
}
|
||||
int operator*()
|
||||
{
|
||||
return (*span_)[index_];
|
||||
}
|
||||
private:
|
||||
const Span* span_;
|
||||
int index_;
|
||||
|
||||
Reference in new issue
Block a user