mirror of https://github.com/CGAL/cgal
ios::fail() is a more general test than bad()
This commit is contained in:
parent
ae34a83cf1
commit
a528e215dc
|
|
@ -397,7 +397,7 @@ public:
|
||||||
} else
|
} else
|
||||||
m_in >> index;
|
m_in >> index;
|
||||||
|
|
||||||
if( m_in.bad()) {
|
if( m_in.fail()) {
|
||||||
if ( verbose()) {
|
if ( verbose()) {
|
||||||
std::cerr << " " << std::endl;
|
std::cerr << " " << std::endl;
|
||||||
std::cerr << "File_scanner_OFF::" << std::endl;
|
std::cerr << "File_scanner_OFF::" << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue