From d9346c96104f9d83dad2d29a945f7ac96ab9258d Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 7 Aug 2024 22:46:35 +0300 Subject: [PATCH] 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. Pick-to: 6.8 Change-Id: Ia782fd5597c215c16929752e9f34534b74406230 Reviewed-by: Marc Mutz --- src/corelib/text/qcollator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/text/qcollator.h b/src/corelib/text/qcollator.h index 9f61cfc22a2..870811fc48e 100644 --- a/src/corelib/text/qcollator.h +++ b/src/corelib/text/qcollator.h @@ -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 {