Allow `MultiPartParser` to be movable (#2107)

This commit is contained in:
Muhammad 2024-07-23 11:52:52 +03:00 committed by GitHub
parent e786907478
commit 500d44faac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ class DROGON_EXPORT MultiPartParser
{ {
public: public:
MultiPartParser(){}; MultiPartParser(){};
MultiPartParser(const MultiPartParser &other) = default; // Copyable
MultiPartParser(MultiPartParser &&other) = default; // Movable
~MultiPartParser(){}; ~MultiPartParser(){};
/// Get files, This method should be called after calling the parse() /// Get files, This method should be called after calling the parse()
/// method. /// method.