add postfix increment to ParameterParser iterator

This commit is contained in:
Maxime Coste 2014-06-12 20:03:17 +01:00
parent dac5e89e14
commit 346de52633

View File

@ -117,6 +117,7 @@ struct ParametersParser
} }
iterator& operator++() { ++m_index; return *this; } iterator& operator++() { ++m_index; return *this; }
iterator operator++(int) { auto copy = *this; ++m_index; return copy; }
bool operator==(const iterator& other) const bool operator==(const iterator& other) const
{ {