#1933 Observed data: Speed up reading observed data file

This commit is contained in:
Rebecca Cox
2017-09-26 15:43:58 +02:00
parent e8d04618af
commit d8ebe508a2
3 changed files with 9 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ bool RifKeywordVectorParser::canBeParsed(const QString& data)
while (streamData.good())
{
if (line.size() > 1 && line[0] == '-' && line[1] == '-')
if (RifRsmspecParserTools::isAComment(line))
{
std::getline(streamData, line);
}