mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Use && for parameter of boundary
This commit is contained in:
parent
4a9c048bbc
commit
969cccd52a
@ -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…
x
Reference in New Issue
Block a user