summaryrefslogtreecommitdiffstats
path: root/tests/hawd/dataset.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-01 21:29:42 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-01 21:29:42 +0100
commit93b406d1914a5512aec6ca737ba8326a21191227 (patch)
tree0f869f201815ae862bc2853de0b2007ff1515bf1 /tests/hawd/dataset.h
parentae7cc26c8350b427870f83687f83184c2c211250 (diff)
downloadsink-93b406d1914a5512aec6ca737ba8326a21191227.tar.gz
sink-93b406d1914a5512aec6ca737ba8326a21191227.zip
HAWD: Ensure the column order is maintained
By turning the columns into an array instead of an object, we can print the values in the same order as in the definition file. Previosly the order was random, and even headers and values were somtimes mixed up.
Diffstat (limited to 'tests/hawd/dataset.h')
-rw-r--r--tests/hawd/dataset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hawd/dataset.h b/tests/hawd/dataset.h
index cf84d7b..cdfd3f2 100644
--- a/tests/hawd/dataset.h
+++ b/tests/hawd/dataset.h
@@ -60,7 +60,7 @@ public:
60 void fromBinary(QByteArray binary); 60 void fromBinary(QByteArray binary);
61 61
62 qint64 m_key; 62 qint64 m_key;
63 QHash<QString, DataDefinition> m_columns; 63 QList<QPair<QString, DataDefinition> > m_columns;
64 QHash<QString, QVariant> m_data; 64 QHash<QString, QVariant> m_data;
65 QString m_annotation; 65 QString m_annotation;
66 QString m_commitHash; 66 QString m_commitHash;