diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-06-12 20:03:17 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-06-12 20:03:17 +0100 |
| commit | 346de52633cdcf776cf1bc4796775fd103a4cb66 (patch) | |
| tree | 9039bf897cb0e3d7de479140682c747010dc2240 /src/parameters_parser.hh | |
| parent | dac5e89e140541492618aeaa896df62f4d4f62ad (diff) | |
add postfix increment to ParameterParser iterator
Diffstat (limited to 'src/parameters_parser.hh')
| -rw-r--r-- | src/parameters_parser.hh | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
