diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-11-16 18:01:41 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2021-11-16 18:13:37 +0100 |
commit | 6f195a592b26ad8416a6f02d6bd7258ab3fadf65 (patch) | |
tree | d68826f6beae9bdb58123b305b0351608331a581 | |
parent | 550c867ead52c575b9d7117754d8c935916f0bb7 (diff) | |
download | qtwayland-6f195a592b26ad8416a6f02d6bd7258ab3fadf65.tar.gz |
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.
Pick-to: 6.2 5.15
Change-Id: I8ec14f22ae1ead2dd6db643a6462f719fda344b8
Reviewed-by: David Edmundson <davidedmundson@kde.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 e23ed37d..2f5d8f71 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 }; |