Remove unused QMapData::createData()/node_create() overloads.

Change-Id: I79010e1ecfdfe579d996db65681ab1559598f3ce
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
Robin Burchell 2011-12-07 13:40:29 +01:00 committed by Qt by Nokia
parent 11732d133b
commit e79b9d6a36
2 changed files with 0 additions and 12 deletions

View File

@ -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.

View File

@ -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