Skip to content

Commit 96d683b

Browse files
committed
Framework: adapt deprecated boost function to new method
1 parent ff802a4 commit 96d683b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/DataInspector/src/DISocket.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ DIMessage::~DIMessage()
7373
DISocket::DISocket(const std::string& address, int port) : ioContext(), socket(ioContext)
7474
{
7575
try {
76-
auto ip_address = boost::asio::ip::address::from_string(address);
76+
auto ip_address = boost::asio::ip::make_address(address);
7777
socket.connect(boost::asio::ip::tcp::endpoint(ip_address, port));
7878
}
7979
ASIO_CATCH("DISocket::DISocket")

0 commit comments

Comments
 (0)