Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarshan Sen <darshan.sen@postman.com>2021-10-03 07:54:58 +0300
committerDarshan Sen <darshan.sen@postman.com>2021-10-12 08:51:04 +0300
commita784258444b052dfd31cca90db57b21dc38bb1eb (patch)
tree0e0aa9a83d9af0a015aed5653bfa6d7e96107d1d /src/stream_pipe.h
parent15ce81a4645d5d920187f3b2f832b472d8c47214 (diff)
src: remove usage of `AllocatedBuffer` from `stream_*`
Signed-off-by: Darshan Sen <darshan.sen@postman.com> PR-URL: https://github.com/nodejs/node/pull/40293 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/stream_pipe.h')
-rw-r--r--src/stream_pipe.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stream_pipe.h b/src/stream_pipe.h
index 36179c95f74..eb2e914e793 100644
--- a/src/stream_pipe.h
+++ b/src/stream_pipe.h
@@ -4,7 +4,6 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "stream_base.h"
-#include "allocated_buffer.h"
namespace node {
@@ -43,7 +42,7 @@ class StreamPipe : public AsyncWrap {
// `OnStreamWantsWrite()` support.
size_t wanted_data_ = 0;
- void ProcessData(size_t nread, AllocatedBuffer&& buf);
+ void ProcessData(size_t nread, std::unique_ptr<v8::BackingStore> bs);
class ReadableListener : public StreamListener {
public: