replace boost.asio with standalone asio.

This commit is contained in:
Chunting Gu
2020-02-20 10:43:46 +08:00
parent b72db3a048
commit 718392fa9e
490 changed files with 110256 additions and 144 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ FormPartPtr FormPart::NewFile(const std::string& name,
}
void FormPart::Prepare(Payload* payload) {
using boost::asio::buffer;
using asio::buffer;
if (data_.empty() && !path_.empty()) {
if (!utility::ReadFile(path_, &data_)) {