replace shared_pointer by shared_from_this

This commit is contained in:
mrkraimer
2016-05-17 09:24:38 -04:00
parent 3cc13e2c5a
commit cd9bdec84e
6 changed files with 15 additions and 13 deletions

View File

@@ -151,7 +151,7 @@ void PvaClientGet::issueConnect()
+ " pvaClientGet already connected ";
throw std::runtime_error(message);
}
ChannelGetRequester::shared_pointer getRequester(ChannelGetRequester::shared_pointer(this));
ChannelGetRequester::shared_pointer getRequester(shared_from_this());
connectState = connectActive;
channelGet = channel->createChannelGet(getRequester,pvRequest);
}