From 0cc41f43c4460562a0b6b12f53496d2c916af2f8 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 1 Sep 2020 22:02:47 +0200 Subject: [PATCH] Fixed one more issue with the include implementation. --- src/tl/tl/tlStream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tl/tl/tlStream.cc b/src/tl/tl/tlStream.cc index 4d44fbb4b..753e5e16b 100644 --- a/src/tl/tl/tlStream.cc +++ b/src/tl/tl/tlStream.cc @@ -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; }