diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2023-07-07 16:42:59 +0200 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2023-08-24 07:45:03 +0200 |
| commit | 777a1ed19185c594d7f43296e0044e3e354690ca (patch) | |
| tree | 4f3524a95f1dd2561bdcfc502c97356bb804592f /src/corelib/kernel/qtimer.cpp | |
| parent | 306d32fdd3633213c9c2bf8dc79b99deb7123646 (diff) | |
Make qReturnArg return a type templated with the return type
This way we can make check verify that the passed-in pointer is correct
at compile time.
Doesn't do this in this patch because all current uses are in the
string-based overloads, but we'll use it in a later patch which adds
new invokeMethod overloads for the functor-based API.
Change-Id: I30186adc9d0b67c7ca337deb35c2c34661e50261
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
