QRandomGenerator: Add destructor
While not needed from the C++ side of things, the missing dtor in conjunction with the out-of-line copy SMFs is freaking out style checkers that check for Rule Of Three/Five/Zero, so just =default the destructor. Pick-to: 6.7 6.5 Task-number: QTBUG-124643 Change-Id: Ic21e7c0e4f0630d60eaff724e2f9d6897b720164 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit dd7ad8f8ae44e1ad01c370cd4a0558c5e66efeb8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
250cdbe404
commit
da18a576a9
@ -39,6 +39,8 @@ public:
|
||||
Q_CORE_EXPORT QRandomGenerator(const QRandomGenerator &other);
|
||||
Q_CORE_EXPORT QRandomGenerator &operator=(const QRandomGenerator &other);
|
||||
|
||||
~QRandomGenerator() = default;
|
||||
|
||||
friend Q_CORE_EXPORT bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2);
|
||||
friend bool operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user