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/daemon/face/websocket-factory.t.cpp b/tests/daemon/face/websocket-factory.t.cpp
index b1c38a6..bedef87 100644
--- a/tests/daemon/face/websocket-factory.t.cpp
+++ b/tests/daemon/face/websocket-factory.t.cpp
@@ -28,8 +28,6 @@
#include "face-system-fixture.hpp"
#include "factory-test-common.hpp"
-#include <ndn-cxx/net/address-converter.hpp>
-
namespace nfd {
namespace face {
namespace tests {
@@ -40,7 +38,7 @@
shared_ptr<WebSocketChannel>
createChannel(const std::string& localIp, const std::string& localPort)
{
- websocket::Endpoint endpoint(ndn::ip::addressFromString(localIp),
+ websocket::Endpoint endpoint(boost::asio::ip::address::from_string(localIp),
boost::lexical_cast<uint16_t>(localPort));
return factory.createChannel(endpoint);
}