mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-15 19:13:39 +00:00
Use && for parameter of boundary
This commit is contained in:
1 parent
4a9c048bbc
commit
969cccd52a
1 file changed
+1
-1
@@ -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