Drop the support of VS2013

This commit is contained in:
Chunting Gu
2019-03-08 14:14:33 +08:00
parent 3647407b8b
commit 0db366bfe0
17 changed files with 39 additions and 130 deletions
-10
View File
@@ -12,16 +12,6 @@ using tcp = boost::asio::ip::tcp;
namespace webcc {
void AdjustHostPort(std::string& host, std::string& port) {
if (port.empty()) {
std::size_t i = host.find_last_of(':');
if (i != std::string::npos) {
port = host.substr(i + 1);
host = host.substr(0, i);
}
}
}
void PrintEndpoint(std::ostream& ostream, const TcpEndpoint& endpoint) {
ostream << endpoint;
if (endpoint.protocol() == tcp::v4()) {