From 4e5a76afd05dfae9850ca0ceb5b9100b808cfbae Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 May 2018 14:19:05 +0200 Subject: [PATCH] fix(core): export correctly some symbols on windows --- include/linphone/utils/utils.h | 3 +-- src/core/core-accessor.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linphone/utils/utils.h b/include/linphone/utils/utils.h index 1ea65cc5d..c93058006 100644 --- a/include/linphone/utils/utils.h +++ b/include/linphone/utils/utils.h @@ -83,9 +83,8 @@ namespace Utils { LINPHONE_PUBLIC std::string toString (long double val); LINPHONE_PUBLIC std::string toString (const void *val); - LINPHONE_PUBLIC template::value, T>::type> - inline std::string toString (const T &val) { return getEnumValueAsString(val); } + 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); diff --git a/src/core/core-accessor.h b/src/core/core-accessor.h index 6a6e911a7..0461e253c 100644 --- a/src/core/core-accessor.h +++ b/src/core/core-accessor.h @@ -30,7 +30,7 @@ class Core; class CoreAccessorPrivate; // Decorator to get a valid core instance. -LINPHONE_PUBLIC class CoreAccessor { +class LINPHONE_PUBLIC CoreAccessor { public: CoreAccessor (const std::shared_ptr &core); CoreAccessor (const std::shared_ptr &&core);