Fix the ambiguity of the contructors of FormPart.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
TEST(FormBodyTest, Payload) {
|
||||
std::vector<webcc::FormPartPtr> parts{
|
||||
std::make_shared<webcc::FormPart>("json", "{}", "application/json")
|
||||
webcc::FormPart::New("json", "{}", "application/json")
|
||||
};
|
||||
|
||||
webcc::FormBody form_body{ parts, "123456" };
|
||||
|
||||
Reference in New Issue
Block a user