server: cleanup handling of vector of providers

avoid keeping extra refs.  situation is confusing
enough as it is.
This commit is contained in:
Michael Davidsaver
2018-05-18 08:53:52 -07:00
parent bd88e35448
commit 6abfe9d196
4 changed files with 14 additions and 19 deletions

View File

@@ -502,7 +502,7 @@ BlockingUDPTransport::shared_pointer ServerContextImpl::getBroadcastTransport()
return _broadcastTransport;
}
std::vector<ChannelProvider::shared_pointer>& ServerContextImpl::getChannelProviders()
const std::vector<ChannelProvider::shared_pointer>& ServerContextImpl::getChannelProviders()
{
return _channelProviders;
}