face: Small issue with TcpChannelFactory (error from gcc-4.2.1)
Change-Id: I5ddef68db85928383b962ac56ed454d69dbdf3bc
diff --git a/daemon/face/tcp-channel-factory.hpp b/daemon/face/tcp-channel-factory.hpp
index 5027d41..1a26738 100644
--- a/daemon/face/tcp-channel-factory.hpp
+++ b/daemon/face/tcp-channel-factory.hpp
@@ -18,9 +18,9 @@
/**
* \brief Exception of TcpChannelFactory
*/
- struct Error : public ChannelFactory::Error
+ struct Error : public ChannelFactory<tcp::Endpoint, TcpChannel>::Error
{
- Error(const std::string& what) : ChannelFactory::Error(what) {}
+ Error(const std::string& what) : ChannelFactory<tcp::Endpoint, TcpChannel>::Error(what) {}
};
TcpChannelFactory(boost::asio::io_service& ioService);