diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-11 00:49:22 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-07-16 01:50:16 +0000 |
commit | dfedbc154f08bc025706847b275333526f87579b (patch) | |
tree | 8626dcdd064fa220d4e3fe053af0f9436b768dfa /src/libutil/serialise.hh | |
parent | d094dd0396a9ec0b4ce725412cc73c6d9af31021 (diff) |
remove sourceToSink, sinkToSource, and boehm patch
Change-Id: I1379841299713175d0225b82a67f50660f9eb5e2
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r-- | src/libutil/serialise.hh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 874c67b75..9b1892bbb 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -362,14 +362,6 @@ private: Bytes buf{}; }; -std::unique_ptr<FinishSink> sourceToSink(std::function<void(Source &)> fun); - -/** - * Convert a function that feeds data into a Sink into a Source. The - * Source executes the function as a coroutine. - */ -std::unique_ptr<Source> sinkToSource(std::function<void(Sink &)> fun); - inline Sink & operator<<(Sink & sink, Generator<Bytes> && g) { while (auto buffer = g.next()) { |