diff --git a/src/parameters_parser.hh b/src/parameters_parser.hh index 49d970f7..5b177bb3 100644 --- a/src/parameters_parser.hh +++ b/src/parameters_parser.hh @@ -117,6 +117,7 @@ struct ParametersParser } iterator& operator++() { ++m_index; return *this; } + iterator operator++(int) { auto copy = *this; ++m_index; return copy; } bool operator==(const iterator& other) const {