You've already forked cpp-httplib
Use && for parameter of boundary
This commit is contained in:
@ -2817,7 +2817,7 @@ class MultipartFormDataParser {
|
||||
public:
|
||||
MultipartFormDataParser() = default;
|
||||
|
||||
void set_boundary(std::string boundary) { boundary_ = std::move(boundary); }
|
||||
void set_boundary(std::string &&boundary) { boundary_ = boundary; }
|
||||
|
||||
bool is_valid() const { return is_valid_; }
|
||||
|
||||
|
Reference in New Issue
Block a user