daemon+tests: avoid deprecated ndn-cxx functions
Change-Id: Idfa341629919d63fac140eda0b465f8f8abd38e6
diff --git a/daemon/face/websocket-transport.cpp b/daemon/face/websocket-transport.cpp
index 33ae643..2d118ec 100644
--- a/daemon/face/websocket-transport.cpp
+++ b/daemon/face/websocket-transport.cpp
@@ -83,7 +83,7 @@
NFD_LOG_FACE_TRACE(__func__);
websocketpp::lib::error_code error;
- m_server.send(m_handle, packet.wire(), packet.size(),
+ m_server.send(m_handle, packet.data(), packet.size(),
websocketpp::frame::opcode::binary, error);
if (error)
return processErrorCode(error);