mirror of https://github.com/CGAL/cgal
Use istream::bad()
This commit is contained in:
parent
8dc7ff13fb
commit
124b252def
|
|
@ -396,7 +396,7 @@ public:
|
|||
index = i32;
|
||||
} else
|
||||
m_in >> index;
|
||||
if( ! m_in) {
|
||||
if( m_in.bad()) {
|
||||
if ( verbose()) {
|
||||
std::cerr << " " << std::endl;
|
||||
std::cerr << "File_scanner_OFF::" << std::endl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue