diff --git a/src/corelib/kernel/qcore_mac_p.h b/src/corelib/kernel/qcore_mac_p.h index cb00fe0b24c..2d33e2ca95e 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(static_cast(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 activity;