From 66345ce785ce73e3b35b51278cafe3bf114884eb Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Sun, 19 Nov 2023 14:10:14 +0200 Subject: [PATCH] tst_qtimer: remove extra `;` after Q_DISABLE_COPY Fixes warning from sanitize-commit. Change-Id: Ie52de4e34fce903d898619bc8e2338a15b7b7e68 Reviewed-by: Thiago Macieira --- tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp index 4ece1dc2b4..d11402b159 100644 --- a/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp +++ b/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp @@ -1031,7 +1031,7 @@ void tst_QTimer::singleShotToFunctors() thread.wait(); struct MoveOnly : CountedStruct { - Q_DISABLE_COPY(MoveOnly); + Q_DISABLE_COPY(MoveOnly) MoveOnly(MoveOnly &&o) : CountedStruct(std::move(o)) {}; MoveOnly(int *c) : CountedStruct(c) {} };