aboutsummaryrefslogtreecommitdiffstats
path: root/src/TextInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextInputStream.cxx')
-rw-r--r--src/TextInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextInputStream.cxx b/src/TextInputStream.cxx
index f3664018a..36a726aa6 100644
--- a/src/TextInputStream.cxx
+++ b/src/TextInputStream.cxx
@@ -42,7 +42,7 @@ bool TextInputStream::ReadLine(std::string &line)
--dest.size;
Error error;
- nbytes = is->LockRead(dest.data, dest.size, error);
+ nbytes = is.LockRead(dest.data, dest.size, error);
if (nbytes > 0)
buffer.Append(nbytes);
else if (error.IsDefined()) {