@@ -165,7 +165,7 @@ using Iterator = typename r::to_iterator<Buffer>::iterator_t;
165165...
166166/* establishing connection to redis is outside of bredis * /
167167asio::ip::tcp::endpoint end_point(
168- asio::ip::address::from_string ("127.0.0.1"), port);
168+ asio::ip::make_address ("127.0.0.1"), port);
169169socket_t socket(io_service, end_point.protocol());
170170socket.connect(end_point);
171171
@@ -234,7 +234,7 @@ using result_t = r::parse_result_mapper_t<Iterator, Policy>;
234234...
235235/* establishing the connection to redis is outside of bredis * /
236236asio::ip::tcp::endpoint end_point(
237- asio::ip::address::from_string ("127.0.0.1"), port);
237+ asio::ip::make_address ("127.0.0.1"), port);
238238socket_t socket(io_service, end_point.protocol());
239239socket.connect(end_point);
240240...
@@ -467,7 +467,7 @@ outside of the bredis connection.
467467using socket_t = asio::ip::tcp::socket;
468468using next_layer_t = socket_t &;
469469...
470- asio::ip::tcp::endpoint end_point (asio::ip::address::from_string ("127.0.0.1"), port);
470+ asio::ip::tcp::endpoint end_point (asio::ip::make_address ("127.0.0.1"), port);
471471socket_t socket(io_service, end_point.protocol());
472472socket.connect(end_point);
473473r::Connection<next_layer_t> c(socket);
0 commit comments