mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
fp._ptr arithmetic
This commit is contained in:
parent
2da49ee4c8
commit
01c80ba94b
1 changed files with 1 additions and 1 deletions
|
@ -5579,7 +5579,7 @@ private size_t readlnImpl(FILE* fps, ref char[] buf, dchar terminator, File.Orie
|
|||
app.putonly(p[0 .. i]);
|
||||
}
|
||||
fp._cnt -= i;
|
||||
fp._ptr += i;
|
||||
() @trusted { fp._ptr += i; }();
|
||||
}
|
||||
|
||||
buf = app.data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue