Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 02de48a3 authored by Krzysztof Nowicki's avatar Krzysztof Nowicki

EWS/test: Make a deep copy of the comparison function

Otherwise it will become a dangling reference in case a lambda is
supplied,
parent f69e5ade
......@@ -55,7 +55,7 @@ private:
Akonadi::Monitor mMonitor;
QSet<QString> mPending;
const QHash<QString, T> &mStateHash;
const StateComparisonFunc &mComparisonFunc;
StateComparisonFunc mComparisonFunc;
const QString &mInboxId;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment