From fa11214a4e9181cff9f29e5774e09004ac5acfea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 7 Feb 2023 18:44:13 +0800 Subject: Order free-er API changed --- interchange/ord.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'interchange') diff --git a/interchange/ord.hxx b/interchange/ord.hxx index f424d4d..af06d52 100644 --- a/interchange/ord.hxx +++ b/interchange/ord.hxx @@ -34,10 +34,7 @@ namespace QInterchange { public: explicit Ord(QObject* parent = nullptr); - ~Ord() - { - if (m_data) interchange_ord_free(m_data); - } + ~Ord(); int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; -- cgit v1.2.3