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:
parent
11732d133b
commit
e79b9d6a36
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user