diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-11-16 18:01:41 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-11-16 19:43:50 +0000 |
commit | 7d15719ae5f64f37160e0fadb7442541b83d2a5d (patch) | |
tree | 0a4bc1a8c321a507f233584509c78a050551b8e7 | |
parent | e02739bcdae416746b3b763ed7cc2a19e250737a (diff) |
tst_seatv4: fix compilation with GCC/C++20
Explicitly defaulting the default ctor suppresses aggregate
initialization. It's also a pointless thing to do, so don't do it.
Change-Id: I8ec14f22ae1ead2dd6db643a6462f719fda344b8
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 6f195a592b26ad8416a6f02d6bd7258ab3fadf65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/client/seatv4/tst_seatv4.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/client/seatv4/tst_seatv4.cpp b/tests/auto/client/seatv4/tst_seatv4.cpp index e23ed37d1..2f5d8f718 100644 --- a/tests/auto/client/seatv4/tst_seatv4.cpp +++ b/tests/auto/client/seatv4/tst_seatv4.cpp @@ -287,8 +287,6 @@ void tst_seatv4::simpleAxis() } struct Event // Because I didn't find a convenient way to copy it entirely { - Event() = default; - QPoint pixelDelta; QPoint angleDelta; // eights of a degree, positive is upwards, left }; |