Fix remaining character check
This commit is contained in:
parent
2144fbcc58
commit
44de7726f8
@ -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