diff --git a/include/linphone/utils/general.h b/include/linphone/utils/general.h index 021bc7062..26c99603e 100644 --- a/include/linphone/utils/general.h +++ b/include/linphone/utils/general.h @@ -267,7 +267,7 @@ namespace Private { template struct ResolveConstMemberFunctionOverload { template - constexpr auto operator() (Ret (Obj::*func)(Args...) const) L_AUTO_RETURN(func); + constexpr auto operator() (Ret (Obj::*func)(Args...) const) const L_AUTO_RETURN(func); }; template