face: delete deprecated shared_ptr<io_service> constructor and getter
refs #2097
Change-Id: I98c9875f7a8bb4decf8e7a28ee3c5c60d163f7b5
diff --git a/src/detail/face-impl.hpp b/src/detail/face-impl.hpp
index 5e3558b..e4991ca 100644
--- a/src/detail/face-impl.hpp
+++ b/src/detail/face-impl.hpp
@@ -105,7 +105,7 @@
const OnData& onData, const OnTimeout& onTimeout)
{
if (!m_face.m_transport->isConnected())
- m_face.m_transport->connect(*m_face.m_ioService,
+ m_face.m_transport->connect(m_face.m_ioService,
bind(&Face::onReceiveElement, &m_face, _1));
if (!m_face.m_transport->isExpectingData())
@@ -142,7 +142,7 @@
asyncPutData(const shared_ptr<const Data>& data)
{
if (!m_face.m_transport->isConnected())
- m_face.m_transport->connect(*m_face.m_ioService,
+ m_face.m_transport->connect(m_face.m_ioService,
bind(&Face::onReceiveElement, &m_face, _1));
if (!m_face.m_transport->isExpectingData())