view: build_progress_virtual_reader: implement close method

Close underlying reader.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
Benny Halevy
2021-02-11 10:40:20 +02:00
parent 2d8b00f2d8
commit 1e1c8ea824

View File

@@ -182,6 +182,10 @@ class build_progress_virtual_reader {
_end_of_stream = false;
return _underlying.fast_forward_to(std::move(range), timeout);
}
virtual future<> close() noexcept override {
return _underlying.close();
}
};
public: