Skip to content
Snippets Groups Projects
Commit 4789e2a9 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9774: sipvoiplink's destructor should not be public

parent bb116f66
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,6 @@ class SIPAccount; ...@@ -63,7 +63,6 @@ class SIPAccount;
class SIPVoIPLink : public VoIPLink { class SIPVoIPLink : public VoIPLink {
public: public:
~SIPVoIPLink();
/** /**
* Singleton method. Enable to retrieve the unique static instance * Singleton method. Enable to retrieve the unique static instance
...@@ -233,7 +232,13 @@ class SIPVoIPLink : public VoIPLink { ...@@ -233,7 +232,13 @@ class SIPVoIPLink : public VoIPLink {
void createDefaultSipUdpTransport(); void createDefaultSipUdpTransport();
SipTransport sipTransport; SipTransport sipTransport;
private: private:
NON_COPYABLE(SIPVoIPLink);
SIPVoIPLink();
~SIPVoIPLink();
/** /**
* Start a SIP Call * Start a SIP Call
* @param call The current call * @param call The current call
...@@ -243,10 +248,6 @@ class SIPVoIPLink : public VoIPLink { ...@@ -243,10 +248,6 @@ class SIPVoIPLink : public VoIPLink {
void dtmfSend(SIPCall *call, char code, const std::string &type); void dtmfSend(SIPCall *call, char code, const std::string &type);
NON_COPYABLE(SIPVoIPLink);
SIPVoIPLink();
/** /**
* Threading object * Threading object
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment