diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-02 15:24:44 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-02 15:24:44 +0100 |
commit | dc08fb9dfd474023084de9ce86f29f177ca52fdc (patch) | |
tree | 29cb5ab8a133bc46c4ccbee1cd369cd665525949 /lib/qt_connection_util.h | |
parent | ae0ad49f36e8ba5983839581302ed16ddbd75d5f (diff) | |
download | libquotient-dc08fb9dfd474023084de9ce86f29f177ca52fdc.tar.gz libquotient-dc08fb9dfd474023084de9ce86f29f177ca52fdc.zip |
Improve function_traits<>; split out from util.*
Quotient::function_traits<> did not support member functions in a proper
way (i.e. the way std::invoke_result<> treats them, with the function's
owning class represented as the first parameter). Now that I gained
the skill and understanding in function_traits<> somewhat wicked
machinery, I could properly support member functions. Overloads and
generic lambdas are not supported but maybe we'll get to those one day.
Diffstat (limited to 'lib/qt_connection_util.h')
-rw-r--r-- | lib/qt_connection_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/qt_connection_util.h b/lib/qt_connection_util.h index 46294499..86593cc8 100644 --- a/lib/qt_connection_util.h +++ b/lib/qt_connection_util.h @@ -3,7 +3,7 @@ #pragma once -#include "util.h" +#include "function_traits.h" #include <QtCore/QPointer> |