From 732a72414ca5788d53f2f5e016c7cd53b611d66d Mon Sep 17 00:00:00 2001
From: 464027401@qq.com <464027401@qq.com>
Date: 星期三, 15 九月 2021 16:47:26 +0800
Subject: [PATCH] 替换使用去掉callkit的包
---
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