Use && for parameter of boundary

This commit is contained in:
yhirose 2020-06-18 23:32:09 -04:00
parent 4a9c048bbc
commit 969cccd52a

View file

@ -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_; }