summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-11-16 18:01:41 +0100
committerMarc Mutz <marc.mutz@qt.io>2021-11-16 18:13:37 +0100
commit6f195a592b26ad8416a6f02d6bd7258ab3fadf65 (patch)
treed68826f6beae9bdb58123b305b0351608331a581 /tests
parent550c867ead52c575b9d7117754d8c935916f0bb7 (diff)
downloadqtwayland-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>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/seatv4/tst_seatv4.cpp2
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
};