Peter M. Groen
/
cxxopts
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
44de7726f81c7492b42e8a134eccbe878ed9d6fb
Authored by
Nagy Zsolt
2015-01-23 18:25:17 +0100
1 parent
2144fbcc
Fix remaining character check
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/cxxopts.hpp
src/cxxopts.hpp
View file @
44de772
...
...
@@ -387,7 +387,7 @@ namespace cxxopts
387
387
throw argument_incorrect_type(text);
388
388
}
389
389
390
- if (
!is.eof()
)
390
+ if (
is.rdbuf()->in_avail() != 0
)
391
391
{
392
392
throw argument_incorrect_type(text);
393
393
}
...
...