mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
fix(Address): use a mutable only once
This commit is contained in:
parent
384f99be8a
commit
53d7a7d639
2 changed files with 10 additions and 11 deletions
|
|
@ -36,20 +36,20 @@ public:
|
|||
|
||||
private:
|
||||
struct AddressCache {
|
||||
mutable std::string scheme;
|
||||
mutable std::string displayName;
|
||||
mutable std::string username;
|
||||
mutable std::string domain;
|
||||
mutable std::string methodParam;
|
||||
mutable std::string password;
|
||||
std::string scheme;
|
||||
std::string displayName;
|
||||
std::string username;
|
||||
std::string domain;
|
||||
std::string methodParam;
|
||||
std::string password;
|
||||
|
||||
mutable std::unordered_map<std::string, std::string> headers;
|
||||
mutable std::unordered_map<std::string, std::string> params;
|
||||
mutable std::unordered_map<std::string, std::string> uriParams;
|
||||
std::unordered_map<std::string, std::string> headers;
|
||||
std::unordered_map<std::string, std::string> params;
|
||||
std::unordered_map<std::string, std::string> uriParams;
|
||||
};
|
||||
|
||||
SalAddress *internalAddress = nullptr;
|
||||
AddressCache cache;
|
||||
mutable AddressCache cache;
|
||||
|
||||
L_DECLARE_PUBLIC(Address);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "c-wrapper/c-wrapper.h"
|
||||
#include "call-p.h"
|
||||
#include "conference/local-conference.h"
|
||||
#include "conference/participant-p.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue