cleanup and quiet warnings

This commit is contained in:
Michael Davidsaver
2019-07-14 20:35:11 -07:00
parent b06aa1831f
commit badf14c4fa
11 changed files with 11 additions and 14 deletions

View File

@@ -120,7 +120,7 @@ StaticProvider::StaticProvider(const std::string &name)
impl->internal_self = impl;
impl->finder = pva::ChannelFind::buildDummy(impl);
// wrap ref to call destroy when all external refs (from DyamicProvider::impl) are released.
impl.reset(impl.get(), pvd::Destroyable::cleaner(impl));
impl.reset(impl.get(), pva::Destroyable::cleaner(impl));
impl->external_self = impl;
}
@@ -262,7 +262,7 @@ DynamicProvider::DynamicProvider(const std::string &name,
impl->internal_self = impl;
impl->finder = pva::ChannelFind::buildDummy(impl);
// wrap ref to call destroy when all external refs (from DyamicProvider::impl) are released.
impl.reset(impl.get(), pvd::Destroyable::cleaner(impl));
impl.reset(impl.get(), pva::Destroyable::cleaner(impl));
impl->external_self = impl;
}