From 548b4e645a638faa462b97f6ae9e2c7a38df8154 Mon Sep 17 00:00:00 2001 From: 464027401@qq.com <464027401@qq.com> Date: 星期二, 14 十二月 2021 13:45:01 +0800 Subject: [PATCH] 设置为随机端口 --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/utils.h | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/utils.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/utils.h old mode 100755 new mode 100644 index 6e0493d..0bf5883 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/utils.h +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/utils.h @@ -83,11 +83,8 @@ LINPHONE_PUBLIC std::string toString (long double val); LINPHONE_PUBLIC std::string toString (const void *val); - template<typename T> - LINPHONE_PUBLIC inline std::string toString (const T &val) { - std::ostringstream ss; - ss << val; - return ss.str(); } + template<typename T, typename = typename std::enable_if<IsDefinedEnum<T>::value, T>::type> + LINPHONE_PUBLIC inline std::string toString (const T &val) { return getEnumValueAsString(val); } LINPHONE_PUBLIC int stoi (const std::string &str, size_t *idx = 0, int base = 10); LINPHONE_PUBLIC long long stoll (const std::string &str, size_t *idx = 0, int base = 10); -- Gitblit v1.8.0