1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

Add Source.drainInto(Sink)

This commit is contained in:
Robert Hensing 2020-09-13 14:39:11 +02:00
parent 9ee3122ec7
commit 29c82ccc77
2 changed files with 12 additions and 3 deletions

View file

@ -69,6 +69,8 @@ struct Source
virtual bool good() { return true; }
void drainInto(Sink & sink);
std::string drain();
};