[Issue 20373] Line counter with async Buffer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 8 15:25:04 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20373
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dlang-bugzilla at thecybershad
| |ow.net
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
> auto asyncReader = taskPool.asyncBuf((ref ubyte[] buf) => file.rawRead(buf),
I think this should be:
> auto asyncReader = taskPool.asyncBuf((ref ubyte[] buf) { buf = file.rawRead(buf); },
See https://dlang.org/library/std/stdio/file.raw_read.html
--
More information about the Digitalmars-d-bugs
mailing list