Skip to content

Commit

Permalink
Make multipart::message constructor from request explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
bgs99 authored and gittiver committed Jun 21, 2024
1 parent 7a599bd commit afad892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/multipart.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace crow
}

/// Create a multipart message from a request data
message(const request& req):
explicit message(const request& req):
returnable("multipart/form-data; boundary=CROW-BOUNDARY"),
headers(req.headers),
boundary(get_boundary(get_header_value("Content-Type")))
Expand Down

0 comments on commit afad892

Please sign in to comment.