Skip to content

Commit cbf9256

Browse files
committed
sync_normal: posix_time to std::chrono
1 parent 541c140 commit cbf9256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/client/connection/sync_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct http_sync_connection
7777
}
7878
}
7979
if (timeout_ > 0) {
80-
timer_.expires_from_now(boost::posix_time::seconds(timeout_));
80+
timer_.expires_from_now(std::chrono::seconds(timeout_));
8181
auto self = this->shared_from_this();
8282
timer_.async_wait([=] (std::error_code const &ec) {
8383
self->handle_timeout(ec);

0 commit comments

Comments
 (0)