diff --git a/src/lib/util/delegate.h b/src/lib/util/delegate.h index 9e37d6e78bf..632fa10c309 100644 --- a/src/lib/util/delegate.h +++ b/src/lib/util/delegate.h @@ -419,7 +419,7 @@ public: }; using functional_type = std::function<_ReturnType(Params...)>; using generic_static_func = typename traits::static_func_type; - using generic_member_func = MEMBER_ABI generic_static_func; + typedef MEMBER_ABI generic_static_func generic_member_func; // generic constructor delegate_base() : m_function(nullptr),