mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00: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:
|
public:
|
||||||
MultipartFormDataParser() = default;
|
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_; }
|
bool is_valid() const { return is_valid_; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue