From 6ebe66ff5d36d9ff869e9c565547c02a543ee665 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 25 Sep 2017 16:44:22 +0200 Subject: [PATCH] L_DECLARE_PUBLIC should be private. --- src/conference/params/call-session-params-p.h | 1 - src/conference/params/media-session-params-p.h | 1 - src/conference/participant-p.h | 1 + src/conference/session/call-session-p.h | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conference/params/call-session-params-p.h b/src/conference/params/call-session-params-p.h index c410f5e37..88b1e9e02 100644 --- a/src/conference/params/call-session-params-p.h +++ b/src/conference/params/call-session-params-p.h @@ -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); }; diff --git a/src/conference/params/media-session-params-p.h b/src/conference/params/media-session-params-p.h index ece0fb241..a32b88bd1 100644 --- a/src/conference/params/media-session-params-p.h +++ b/src/conference/params/media-session-params-p.h @@ -114,7 +114,6 @@ private: SalCustomSdpAttribute *customSdpAttributes = nullptr; SalCustomSdpAttribute *customSdpMediaAttributes[LinphoneStreamTypeUnknown]; -public: L_DECLARE_PUBLIC(MediaSessionParams); }; diff --git a/src/conference/participant-p.h b/src/conference/participant-p.h index 21f906a07..4abcb974a 100644 --- a/src/conference/participant-p.h +++ b/src/conference/participant-p.h @@ -41,6 +41,7 @@ public: std::shared_ptr createSession (const Conference &conference, const CallSessionParams *params, bool hasMedia, CallSessionListener *listener); std::shared_ptr getSession () const; +private: Address addr; bool isAdmin = false; std::shared_ptr session = nullptr; diff --git a/src/conference/session/call-session-p.h b/src/conference/session/call-session-p.h index 34de3ea3f..2e3913e71 100644 --- a/src/conference/session/call-session-p.h +++ b/src/conference/session/call-session-p.h @@ -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); };