From 346de52633cdcf776cf1bc4796775fd103a4cb66 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 12 Jun 2014 20:03:17 +0100 Subject: [PATCH] add postfix increment to ParameterParser iterator --- src/parameters_parser.hh | 1 + 1 file changed, 1 insertion(+) 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 {