use the new ChannelProviderRegistry methods

This commit is contained in:
mrkraimer
2017-06-04 07:58:00 -04:00
parent 6762c54e60
commit 619bacc0f4
3 changed files with 17 additions and 7 deletions

View File

@@ -331,7 +331,7 @@ void PvaClientChannel::issueConnect()
}
connectState = connectActive;
}
ChannelProviderRegistry::shared_pointer reg = getChannelProviderRegistry();
ChannelProviderRegistry::shared_pointer reg = ChannelProviderRegistry::getChannelProviderRegistry();
ChannelProvider::shared_pointer provider = reg->getProvider(providerName);
if(!provider) {
throw std::runtime_error(channelName + " provider " + providerName + " not registered");