summaryrefslogtreecommitdiff
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-17 11:33:52 +0000
commitfbe581ad49517e888cec221e72363c58b0a15575 (patch)
treea0419533638d67d35e3be3446fcd011fa1f14c81
parent18379b45fce9ed0247f9d20153e5f52925d9cd42 (diff)
downloadqtwayland-fbe581ad49517e888cec221e72363c58b0a15575.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. Change-Id: I8ec14f22ae1ead2dd6db643a6462f719fda344b8 Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 6f195a592b26ad8416a6f02d6bd7258ab3fadf65) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
-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 a795637b..b92c3dbe 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;
-
const QPoint pixelDelta;
const QPoint angleDelta; // eights of a degree, positive is upwards, left
};