mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Use && for parameter of boundary
This commit is contained in:
parent
4a9c048bbc
commit
969cccd52a
1 changed files with 1 additions and 1 deletions
|
@ -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_; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue