face: Convert to use the global IO service by all ChannelFactories
Change-Id: Ibd8d5cea142171b5700d8920eb3eedc084bbd588
diff --git a/daemon/face/ethernet-channel-factory.hpp b/daemon/face/ethernet-channel-factory.hpp
index 4f655bd..a9094af 100644
--- a/daemon/face/ethernet-channel-factory.hpp
+++ b/daemon/face/ethernet-channel-factory.hpp
@@ -8,18 +8,19 @@
#define NFD_FACE_ETHERNET_CHANNEL_FACTORY_HPP
#include "ethernet-face.hpp"
+#include "channel-factory.hpp"
namespace nfd {
-class EthernetChannelFactory
+class EthernetChannelFactory : public ChannelFactory
{
public:
/**
* \brief Exception of EthernetChannelFactory
*/
- struct Error : public std::runtime_error
+ struct Error : public ChannelFactory::Error
{
- Error(const std::string& what) : std::runtime_error(what) {}
+ Error(const std::string& what) : ChannelFactory::Error(what) {}
};
/**