summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qmap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/tools/qmap.cpp b/src/corelib/tools/qmap.cpp
index e913232..9f8e05c 100644
--- a/src/corelib/tools/qmap.cpp
+++ b/src/corelib/tools/qmap.cpp
@@ -93,6 +93,9 @@ void QMapData::continueFreeData(int offset)
could be several pointers to this node on different levels.
\a offset is an amount of bytes that needs to reserved just before the
QMapData::Node structure.
+
+ \internal
+ \since 4.6
*/
QMapData::Node *QMapData::node_create(Node *update[], int offset)
{
@@ -128,7 +131,6 @@ QMapData::Node *QMapData::node_create(Node *update[], int offset)
update[i]->forward[i] = abstractNode;
update[i] = abstractNode;
}
- // update[level+1]=reinterpret_cast<Node *>(this);
++size;
return abstractNode;
}
@@ -191,7 +193,7 @@ void QMapData::dump()
update[i] = node->forward[i];
}
for (int j = level + 1; j <= topLevel; ++j)
- output[j] += QString("---------------");
+ output[j] += QLatin1String("---------------");
node = node->forward[0];
}