face: Connect faces to the parent (unicast) or associated (multicast) channels
Change-Id: Ie7b2e8fb60050a2bc6e4f5ad053c26e121f3c3d5
Refs: #4973
diff --git a/tests/daemon/face/channel-fixture.hpp b/tests/daemon/face/channel-fixture.hpp
index 2ec7d8a..58b5ee4 100644
--- a/tests/daemon/face/channel-fixture.hpp
+++ b/tests/daemon/face/channel-fixture.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2019, Regents of the University of California,
+ * Copyright (c) 2014-2020, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -63,14 +63,14 @@
return m_nextPort++;
}
- virtual unique_ptr<ChannelT>
+ virtual shared_ptr<ChannelT>
makeChannel()
{
BOOST_FAIL("Unimplemented");
return nullptr;
}
- virtual unique_ptr<ChannelT>
+ virtual shared_ptr<ChannelT>
makeChannel(const boost::asio::ip::address&, uint16_t port = 0)
{
BOOST_FAIL("Unimplemented");
@@ -101,7 +101,7 @@
protected:
LimitedIo limitedIo;
EndpointT listenerEp;
- unique_ptr<ChannelT> listenerChannel;
+ shared_ptr<ChannelT> listenerChannel;
std::vector<shared_ptr<Face>> listenerFaces;
private: