diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qcore_mac_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h index cb00fe0b24..2d33e2ca95 100644 --- a/src/corelib/kernel/qcore_mac_p.h +++ b/src/corelib/kernel/qcore_mac_p.h @@ -293,6 +293,12 @@ public: return reinterpret_cast<os_activity_t>(static_cast<void *>(activity)); } + void swap(QAppleLogActivity &other) + { + qSwap(activity, other.activity); + qSwap(state, other.state); + } + private: // Work around API_AVAILABLE not working for templates by using void* QAppleOsType<void *> activity; |