mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00: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:
|
public:
|
||||||
DataSink() = default;
|
DataSink() = default;
|
||||||
DataSink(const DataSink &) = delete;
|
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(const char *data, size_t data_len)> write;
|
||||||
std::function<void()> done;
|
std::function<void()> done;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue