From b469805b2d0c9b23ca020cf9356ff137205f856c Mon Sep 17 00:00:00 2001
From: 464027401@qq.com <464027401@qq.com>
Date: 星期一, 27 九月 2021 10:22:10 +0800
Subject: [PATCH] 修复来点页面重复呼叫时alert位置不对问题

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h
old mode 100755
new mode 100644
index 5a289b7..3051444
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/enum-generator.h
@@ -77,6 +77,14 @@
 		return ""; \
 	}
 
+template<typename T>
+inline char getEnumValueAsString (const T &) { return 0; }
+
+template<typename T>
+struct IsDefinedEnum {
+	enum { value = sizeof(getEnumValueAsString(std::declval<T>())) == sizeof(const char *) };
+};
+
 //Explicit conversion from enum type to underlying type
 template<typename T>
 constexpr auto to_integral(T e) -> typename std::underlying_type<T>::type

--
Gitblit v1.8.0