Merge pull request #11 from nzsolt222/fix
Fix remaining character check
This commit is contained in:
commit
feeffe1997
@ -387,7 +387,7 @@ namespace cxxopts
|
||||
throw argument_incorrect_type(text);
|
||||
}
|
||||
|
||||
if (!is.eof())
|
||||
if (is.rdbuf()->in_avail() != 0)
|
||||
{
|
||||
throw argument_incorrect_type(text);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user