summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2014-11-14 15:22:52 +0100
committerMilian Wolff <milian.wolff@kdab.com>2014-11-14 16:14:21 +0100
commit8bf14c405031baa650c687ffffa443ce772093e0 (patch)
tree401aa42a1e91a20e20b0e7ceca4157fcf56ab189 /tests
parent896d3af6bc1ba60b96d037d45260d5bb9fe5c782 (diff)
Cleanup code and remove C-isms.
Change-Id: I09aa2d0d7b95b809ba3da4841c05c04c47d377f8 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/qframeallocator/tst_qframeallocator.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/auto/core/qframeallocator/tst_qframeallocator.cpp b/tests/auto/core/qframeallocator/tst_qframeallocator.cpp
index 4bf6bdc31..4933524b4 100644
--- a/tests/auto/core/qframeallocator/tst_qframeallocator.cpp
+++ b/tests/auto/core/qframeallocator/tst_qframeallocator.cpp
@@ -50,37 +50,37 @@ public:
tst_QFrameAllocator() : QObject() {}
~tst_QFrameAllocator() {}
- typedef struct s_small
+ struct small
{
char c;
- } small;
+ };
- typedef struct s_medium
+ struct medium
{
int a, b, c;
- } medium;
+ };
- typedef struct s_big
+ struct big
{
int t[8];
- } big;
+ };
- typedef struct s_huge
+ struct huge
{
int t[64];
- } huge;
+ };
- typedef struct s_composed
+ struct composed
{
QVector<int> vec;
QList<int> list;
int t;
- } composed;
+ };
- typedef struct s_subclass : public composed
+ struct subclass : public composed
{
float toto;
- } subclass;
+ };
private slots: