Commit cef280fad37571ca94c01540e9ff9ce54fe03ba9

Authored by Jarryd Beck
1 parent e34676f7

Remove some unreachable code.

Fixes #175. This was broken when throwing an exception on missing
positional parameters in #169.
Showing 1 changed file with 0 additions and 1 deletions
include/cxxopts.hpp
... ... @@ -1663,7 +1663,6 @@ ParseResult::consume_positional(std::string a)
1663 1663 {
1664 1664 throw option_not_exists_exception(*m_next_positional);
1665 1665 }
1666   - ++m_next_positional;
1667 1666 }
1668 1667  
1669 1668 return false;
... ...