fp._ptr arithmetic

This commit is contained in:
Nick Treleaven 2022-11-15 18:05:45 +00:00
parent 2da49ee4c8
commit 01c80ba94b

View file

@ -5579,7 +5579,7 @@ private size_t readlnImpl(FILE* fps, ref char[] buf, dchar terminator, File.Orie
app.putonly(p[0 .. i]); app.putonly(p[0 .. i]);
} }
fp._cnt -= i; fp._cnt -= i;
fp._ptr += i; () @trusted { fp._ptr += i; }();
} }
buf = app.data; buf = app.data;