Tiny improvement in DataSink class

This commit is contained in:
hyperxor 2020-01-07 13:25:04 +03:00
parent 04957c0f08
commit 568fda62b4

View file

@ -213,7 +213,9 @@ class DataSink {
public:
DataSink() = default;
DataSink(const DataSink &) = delete;
DataSink(const DataSink &&) = delete;
DataSink& operator=(const DataSink &) = delete;
DataSink(DataSink &&) = delete;
DataSink& operator=(DataSink &&) = delete;
std::function<void(const char *data, size_t data_len)> write;
std::function<void()> done;