Browse Source

change return type.

master
roker 4 months ago
parent
commit
b8529ff268
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/wrapper.hh

+ 3
- 2
src/wrapper.hh View File

@ -126,8 +126,9 @@ public:
public:
iterator() = default;
iterator operator++() { return (value ? value = value->next : value); }
Element operator*() { return value->*LW::Value; }
iterator operator++() { return (value ? value = value->next : value); }
Element operator*() { return value->*LW::Value; }
Element operator->() { return (value->*LW::Value); }
bool operator==(const iterator& other) const { return value == other.value; }
bool operator!=(const iterator& other) const { return value != other.value; }


Loading…
Cancel
Save