Commit 53d7a7d6 authored by Ronan's avatar Ronan

fix(Address): use a mutable only once

parent 384f99be
......@@ -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;
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::string scheme;
std::string displayName;
std::string username;
std::string domain;
std::string methodParam;
std::string password;
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment