Commit be2a17be authored by paveltomin's avatar paveltomin Committed by GitHub

const version of dereferencing function

otherwise adgprs does not compile with inmost under vs2017
parent e9172b26
......@@ -555,6 +555,7 @@ namespace INMOST
_iterator operator --(int){ return _iterator(e--); }
ptrdiff_t operator -(const _iterator & other) const {return e-other.e;}
dtype & operator *() { return *e; }
const dtype & operator *() const { return *e; }
dtype * operator ->() { return e; }
_iterator & operator =(_iterator const & other) { e = other.e; return *this; }
bool operator ==(const _iterator & other) { return e == other.e;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment