Fixed readLine() getting stuck at the end of the file.

This commit is contained in:
Patrick 2024-09-19 15:21:05 +02:00
parent 6ebcb96444
commit 4735fc10f8

View File

@ -270,6 +270,11 @@ StreamError Stream::readLine(std::string& outString)
{
return error;
}
if (isAtEnd())
{
done = true;
}
}
return StreamError::SUCCESS;