core+face+tools: use asio::ip::address::from_string directly
The compatibility wrappers in ndn-cxx are no longer needed
and will be deprecated soon.
Change-Id: I394164c11dfe776f1d5a6f7c0dceffe9ce6ad85f
diff --git a/tests/other/face-benchmark.cpp b/tests/other/face-benchmark.cpp
index 3499e89..007a87b 100644
--- a/tests/other/face-benchmark.cpp
+++ b/tests/other/face-benchmark.cpp
@@ -29,7 +29,6 @@
#include "face/tcp-channel.hpp"
#include "face/udp-channel.hpp"
-#include <ndn-cxx/net/address-converter.hpp>
#include <fstream>
#include <iostream>
@@ -125,7 +124,7 @@
}
// create the right face
- auto addr = ndn::ip::addressFromString(uriR.getHost());
+ auto addr = boost::asio::ip::address::from_string(uriR.getHost());
auto port = boost::lexical_cast<uint16_t>(uriR.getPort());
if (uriR.getScheme() == "tcp4") {
m_tcpChannel.connect(tcp::Endpoint(addr, port), {},