From 500d44faac87daa3877a7911215a06deca53c7a1 Mon Sep 17 00:00:00 2001 From: Muhammad <73486659+Mis1eader-dev@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:52:52 +0300 Subject: [PATCH] Allow `MultiPartParser` to be movable (#2107) --- lib/inc/drogon/MultiPart.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/inc/drogon/MultiPart.h b/lib/inc/drogon/MultiPart.h index 021bdd5e..5401626a 100644 --- a/lib/inc/drogon/MultiPart.h +++ b/lib/inc/drogon/MultiPart.h @@ -123,6 +123,8 @@ class DROGON_EXPORT MultiPartParser { public: MultiPartParser(){}; + MultiPartParser(const MultiPartParser &other) = default; // Copyable + MultiPartParser(MultiPartParser &&other) = default; // Movable ~MultiPartParser(){}; /// Get files, This method should be called after calling the parse() /// method.