From e79b9d6a36bdebaf95a8ff9b2fad70d6c11d2b6a Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 7 Dec 2011 13:40:29 +0100 Subject: [PATCH] Remove unused QMapData::createData()/node_create() overloads. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I79010e1ecfdfe579d996db65681ab1559598f3ce Reviewed-by: Bradley T. Hughes Reviewed-by: João Abecasis Reviewed-by: Olivier Goffart --- src/corelib/tools/qmap.cpp | 10 ---------- src/corelib/tools/qmap.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/corelib/tools/qmap.cpp b/src/corelib/tools/qmap.cpp index bd7c76c37a..f605a82dfe 100644 --- a/src/corelib/tools/qmap.cpp +++ b/src/corelib/tools/qmap.cpp @@ -56,11 +56,6 @@ const QMapData QMapData::shared_null = { Q_REFCOUNT_INITIALIZER(-1), 0, 0, 0, false, true, false, 0 }; -QMapData *QMapData::createData() -{ - return createData(0); -} - QMapData *QMapData::createData(int alignment) { QMapData *d = new QMapData; @@ -95,11 +90,6 @@ void QMapData::continueFreeData(int offset) delete this; } -QMapData::Node *QMapData::node_create(Node *update[], int offset) -{ - return node_create(update, offset, 0); -} - /*! Creates a new node inside the data structure. diff --git a/src/corelib/tools/qmap.h b/src/corelib/tools/qmap.h index 8beae03a6e..362b723b0a 100644 --- a/src/corelib/tools/qmap.h +++ b/src/corelib/tools/qmap.h @@ -77,10 +77,8 @@ struct Q_CORE_EXPORT QMapData uint strictAlignment : 1; uint reserved : 29; - static QMapData *createData(); // ### Qt5 remove me static QMapData *createData(int alignment); void continueFreeData(int offset); - Node *node_create(Node *update[], int offset); // ### Qt5 remove me Node *node_create(Node *update[], int offset, int alignment); void node_delete(Node *update[], int offset, Node *node); #ifdef QT_QMAP_DEBUG