mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-06 17:53:48 +02:00
Missed a spot.
This commit is contained in:
parent
d8b83fd308
commit
6d14ad6ab5
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void generateOutput (QTextStream& out, const QList<Streamable>& streamables) {
|
|||
|
||||
out << "QHash<QByteArray, int> " << name << "::createFieldIndices() {\n";
|
||||
out << " QHash<QByteArray, int> indices;\n";
|
||||
out << " int index = 0;\n";
|
||||
out << " int index = 1;\n";
|
||||
foreach (const QString& base, str.clazz.bases) {
|
||||
out << " foreach (const MetaField& field, " << base << "::getMetaFields()) {\n";
|
||||
out << " indices.insert(field.getName(), index++);\n";
|
||||
|
|
Loading…
Reference in a new issue