QCollatorSortKey: don't export the private class destructor

It needn't be exported because the public class destructor is defined
out-of-line and the move ctor, even though inline, and requiring the
definition of the member destructor at compile time, doesn't actually
call it.

Amends 612ed28985736cabce722580d9b84c5af4460e05.

Found in API review.

Change-Id: Ia782fd5597c215c16929752e9f34534b74406230
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit d9346c96104f9d83dad2d29a945f7ac96ab9258d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ahmad Samir 2024-08-07 22:46:35 +03:00 committed by Qt Cherry-pick Bot
parent a94b3deb49
commit c178110208

View File

@ -13,7 +13,7 @@ QT_BEGIN_NAMESPACE
class QCollatorPrivate;
class QCollatorSortKeyPrivate;
QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QCollatorSortKeyPrivate, Q_CORE_EXPORT)
QT_DECLARE_QESDP_SPECIALIZATION_DTOR(QCollatorSortKeyPrivate)
class Q_CORE_EXPORT QCollatorSortKey
{