switch asio from standalone to boost

This commit is contained in:
Chunting Gu
2020-08-31 14:57:47 +08:00
parent 20f02aa704
commit d49db1ec9c
507 changed files with 237 additions and 110294 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ FormPartPtr FormPart::NewFile(const std::string& name,
}
void FormPart::Prepare(Payload* payload) {
using asio::buffer;
using boost::asio::buffer;
if (data_.empty() && !path_.empty()) {
if (!utility::ReadFile(path_, &data_)) {