Remove use of anonymous struct in header file
authorKai Koehne <kai.koehne@digia.com>
Mon, 1 Sep 2014 08:43:01 +0000 (10:43 +0200)
committerKai Koehne <kai.koehne@digia.com>
Mon, 1 Sep 2014 10:28:45 +0000 (12:28 +0200)
commit02a53eae69b7938c142739bd019b962d62560d52
tree46015f317cd099de441e1e0e5d6753b819d2343e
parentac11f250771adaeb8c1af3c46ba894a195db85b5
Remove use of anonymous struct in header file

Although all compilers seem to support this, anonymous structs have only
been added formally to C++ 11. Also, this breaks with a change that adds
a constructor to QElapsedTimer:

error: member 'QElapsedTimer QQmlInstantiationInterrupt::<anonymous struct>::timer' with constructor not allowed in anonymous aggregate
        QElapsedTimer timer;
              ^

Change-Id: I5672060e3a623a5d9c4eb1d4e2981c67b96a1192
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmlvme_p.h