Fixed one more issue with the include implementation.

This commit is contained in:
Matthias Koefferlein 2020-09-01 22:02:47 +02:00
parent ad6809a084
commit 0cc41f43c4
1 changed files with 2 additions and 1 deletions

View File

@ -449,7 +449,7 @@ TextInputStream::read_all (size_t max_count)
const std::string &
TextInputStream::get_line ()
{
m_line = m_next_line;
int line = m_next_line;
m_line_buffer.clear ();
while (! at_end ()) {
@ -468,6 +468,7 @@ TextInputStream::get_line ()
}
}
m_line = line;
return m_line_buffer;
}