From a5e684ef91b7a2eb6c113f19fa171e239f262f1a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 13 Feb 2018 10:53:13 +0100 Subject: [PATCH] fix(General): remove L_RESOLVE_OVERLOAD macro, provide a resolveOverload function instead --- include/linphone/utils/general.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linphone/utils/general.h b/include/linphone/utils/general.h index 5ca37dde4..5b2260446 100644 --- a/include/linphone/utils/general.h +++ b/include/linphone/utils/general.h @@ -275,7 +275,8 @@ namespace Private { } // Useful to select a specific overloaded function. (Avoid usage of static_cast.) -#define L_RESOLVE_OVERLOAD(ARGS) LinphonePrivate::Private::ResolveOverload +template +using resolveOverload = Private::ResolveOverload; // ----------------------------------------------------------------------------- // Wrapper public.