Commit 534d75dc authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] the last check in getLine is senseless.

parent de0196be
......@@ -193,9 +193,5 @@ std::string WReaderFiberVTK::getLine( const std::string& desc )
{
throw WDHIOFailure( std::string( "IO error while " + desc + " of VTK fiber file: " + m_fname + ", " + e.what() ) );
}
if( !m_ifs->good() )
{
throw WDHParseError( std::string( "Unexpected end of VTK fiber file: " + m_fname ) );
}
return line;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment