mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add const versions of dereference operators for DictEntry
This commit is contained in:
parent
f588cef65e
commit
93ee353f30
1 changed files with 2 additions and 0 deletions
|
@ -168,7 +168,9 @@ public:
|
||||||
DictIterator& operator=(DictIterator&& that);
|
DictIterator& operator=(DictIterator&& that);
|
||||||
|
|
||||||
reference operator*() { return *curr; }
|
reference operator*() { return *curr; }
|
||||||
|
reference operator*() const { return *curr; }
|
||||||
pointer operator->() { return curr; }
|
pointer operator->() { return curr; }
|
||||||
|
pointer operator->() const { return curr; }
|
||||||
|
|
||||||
DictIterator& operator++();
|
DictIterator& operator++();
|
||||||
DictIterator operator++(int)
|
DictIterator operator++(int)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue