consolidate ServerChannel and ServerChannelImpl

"interface" with a single implementation.
combine and de-virtualize.
This commit is contained in:
Michael Davidsaver
2017-11-06 15:14:41 -06:00
parent 46df4c07ca
commit 073c77b1ef
11 changed files with 78 additions and 95 deletions

View File

@@ -465,7 +465,7 @@ void ServerContextImpl::printInfo(ostream& str, int lvl)
for(channels_t::const_iterator it(channels.begin()), end(channels.end()); it!=end; ++it)
{
const ServerChannelImpl *channel(static_cast<const ServerChannelImpl*>(it->get()));
const ServerChannel *channel(static_cast<const ServerChannel*>(it->get()));
const Channel::shared_pointer& providerChan(channel->getChannel());
if(!providerChan)
continue;