Browse Source

Add missing operator== for lm pair iterator

default_compile_flags
vector-of-bool 5 years ago
parent
commit
c69960a5f0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/libman/parse.hpp

+ 1
- 0
src/libman/parse.hpp View File

@@ -58,6 +58,7 @@ public:
}

inline bool operator!=(const pair_iterator& o) const noexcept { return _iter != o._iter; }
inline bool operator==(const pair_iterator& o) const noexcept { return _iter == o._iter; }

auto begin() const noexcept { return *this; }
auto end() const noexcept { return pair_iterator(_end, _end, _key); }

Loading…
Cancel
Save