L_DECLARE_PUBLIC should be private.

This commit is contained in:
Ghislain MARY 2017-09-25 16:44:22 +02:00
parent 056f9435e9
commit 6ebe66ff5d
4 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,6 @@ private:
SalCustomHeader *customHeaders = nullptr;
LinphoneCall *referer = nullptr; /* In case call creation is consecutive to an incoming transfer, this points to the original call */
public:
L_DECLARE_PUBLIC(CallSessionParams);
};

View file

@ -114,7 +114,6 @@ private:
SalCustomSdpAttribute *customSdpAttributes = nullptr;
SalCustomSdpAttribute *customSdpMediaAttributes[LinphoneStreamTypeUnknown];
public:
L_DECLARE_PUBLIC(MediaSessionParams);
};

View file

@ -41,6 +41,7 @@ public:
std::shared_ptr<CallSession> createSession (const Conference &conference, const CallSessionParams *params, bool hasMedia, CallSessionListener *listener);
std::shared_ptr<CallSession> getSession () const;
private:
Address addr;
bool isAdmin = false;
std::shared_ptr<CallSession> session = nullptr;

View file

@ -104,6 +104,7 @@ protected:
bool deferUpdate = false;
bool nonOpError = false; /* Set when the LinphoneErrorInfo was set at higher level than sal */
private:
L_DECLARE_PUBLIC(CallSession);
};