diff --git a/httplib.h b/httplib.h index 2124e68..d496d06 100644 --- a/httplib.h +++ b/httplib.h @@ -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 write; std::function done;