Skip to content

Commit cfbcb10

Browse files
ywave620ruyadorno
authored andcommitted
src: fix comment on StreamResource
PR-URL: #49193 Reviewed-By: Luigi Pinca <[email protected]>
1 parent 39fb83a commit cfbcb10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream_base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class StreamResource {
225225
// These need to be implemented on the readable side of this stream:
226226

227227
// Start reading from the underlying resource. This is called by the consumer
228-
// when more data is desired. Use `EmitAlloc()` and `EmitData()` to
228+
// when more data is desired. Use `EmitAlloc()` and `EmitRead()` to
229229
// pass data along to the consumer.
230230
virtual int ReadStart() = 0;
231231
// Stop reading from the underlying resource. This is called by the

0 commit comments

Comments
 (0)