diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-10-25 20:40:04 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-10-25 20:40:04 +1100 |
| commit | 96884193ddad76530a09a1b095180b0ca8257b7c (patch) | |
| tree | b218d628c370dffeb77a02e1e0bfcdbf0173af42 /src/parameters_parser.hh | |
| parent | d1c8622dc7ac1d0e2ec07fa7034e4396dffb244f (diff) | |
Remove redundant comparison operators
Since C++20 (a != b) get automatically rewritten as !(a == b) if
the != operator does not exist.
Diffstat (limited to 'src/parameters_parser.hh')
| -rw-r--r-- | src/parameters_parser.hh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/parameters_parser.hh b/src/parameters_parser.hh index 86ba88ce..c11dc501 100644 --- a/src/parameters_parser.hh +++ b/src/parameters_parser.hh @@ -117,11 +117,6 @@ struct ParametersParser return m_index == other.m_index; } - bool operator!=(const iterator& other) const - { - return not (*this == other); - } - private: const ParametersParser& m_parser; size_t m_index; |
