mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Tiny improvement in DataSink class
This commit is contained in:
parent
04957c0f08
commit
568fda62b4
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue