mirror of https://github.com/jarro2783/cxxopts.git
Remove some unreachable code.
Fixes #175. This was broken when throwing an exception on missing positional parameters in #169.
This commit is contained in:
parent
e34676f73e
commit
cef280fad3
|
|
@ -1663,7 +1663,6 @@ ParseResult::consume_positional(std::string a)
|
|||
{
|
||||
throw option_not_exists_exception(*m_next_positional);
|
||||
}
|
||||
++m_next_positional;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue