cleanup and quiet warnings
This commit is contained in:
@@ -373,7 +373,7 @@ public:
|
||||
|
||||
epics::pvData::BitSet::shared_pointer getPutBitSet();
|
||||
epics::pvData::PVStructure::shared_pointer getPutPVStructure();
|
||||
void send(epics::pvData::ByteBuffer* buffer, TransportSendControl* control);
|
||||
void send(epics::pvData::ByteBuffer* buffer, TransportSendControl* control) OVERRIDE FINAL;
|
||||
private:
|
||||
// Note: this forms a reference loop, which is broken in destroy()
|
||||
ChannelPut::shared_pointer _channelPut;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user