diff options
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()) { |