still working on RAII

This commit is contained in:
mrkraimer
2016-05-19 12:01:21 -04:00
parent adc008dee6
commit a0cc581d3f
4 changed files with 31 additions and 40 deletions
+5 -8
View File
@@ -236,10 +236,6 @@ class epicsShareClass PvaClientChannel :
public:
POINTER_DEFINITIONS(PvaClientChannel);
~PvaClientChannel();
/** Destroy the connection to the server.
*
*/
void destroy();
/** ChannelRequester method
* @param status The status
* @param channel The channel
@@ -459,6 +455,10 @@ public:
{
return shared_from_this();
}
/** Deprecated method
* \deprecated This method will go away in future versions.
*/
void destroy() EPICS_DEPRECATED {}
private:
static PvaClientChannelPtr create(
@@ -1035,10 +1035,7 @@ public:
/** Deprecated method
* \deprecated This method will go away in future versions.
*/
void destroy() EPICS_DEPRECATED
{
channelGet->destroy();
}
void destroy() EPICS_DEPRECATED {}
private:
PvaClientGet(
PvaClientPtr const &pvaClient,