Ver código fonte

Add missing operator== for lm pair iterator

default_compile_flags
vector-of-bool 5 anos atrás
pai
commit
c69960a5f0
1 arquivos alterados com 1 adições e 0 exclusões
  1. +1
    -0
      src/libman/parse.hpp

+ 1
- 0
src/libman/parse.hpp Ver arquivo

@@ -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); }

Carregando…
Cancelar
Salvar