Remove unnecessary FunctionPointer::ChangeClass
Those were added by accident. Change-Id: I067fcfe299b34ab6a771fffd14bf28f2d3c096f0 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
19296bc7b0
commit
087b4fc6cd
@ -201,7 +201,6 @@ namespace QtPrivate {
|
|||||||
typedef List<Args...> Arguments;
|
typedef List<Args...> Arguments;
|
||||||
typedef Ret ReturnType;
|
typedef Ret ReturnType;
|
||||||
typedef Ret (Obj::*Function) (Args...) noexcept;
|
typedef Ret (Obj::*Function) (Args...) noexcept;
|
||||||
template <class Base> struct ChangeClass { typedef Ret (Base:: *Type)(Args...) noexcept; };
|
|
||||||
enum {ArgumentCount = sizeof...(Args), IsPointerToMemberFunction = true};
|
enum {ArgumentCount = sizeof...(Args), IsPointerToMemberFunction = true};
|
||||||
template <typename SignalArgs, typename R>
|
template <typename SignalArgs, typename R>
|
||||||
static void call(Function f, Obj *o, void **arg) {
|
static void call(Function f, Obj *o, void **arg) {
|
||||||
@ -214,7 +213,6 @@ namespace QtPrivate {
|
|||||||
typedef List<Args...> Arguments;
|
typedef List<Args...> Arguments;
|
||||||
typedef Ret ReturnType;
|
typedef Ret ReturnType;
|
||||||
typedef Ret (Obj::*Function) (Args...) const noexcept;
|
typedef Ret (Obj::*Function) (Args...) const noexcept;
|
||||||
template <class Base> struct ChangeClass { typedef Ret (Base:: *Type)(Args...) const noexcept; };
|
|
||||||
enum {ArgumentCount = sizeof...(Args), IsPointerToMemberFunction = true};
|
enum {ArgumentCount = sizeof...(Args), IsPointerToMemberFunction = true};
|
||||||
template <typename SignalArgs, typename R>
|
template <typename SignalArgs, typename R>
|
||||||
static void call(Function f, Obj *o, void **arg) {
|
static void call(Function f, Obj *o, void **arg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user