From c190725f1ca4290d746991ddf518553aabca3366 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 10 Nov 2022 15:01:42 +0200 Subject: [PATCH] Suppress Clang warning. --- src/libs/vlayout/vlayoutpoint.h | 2 +- src/libs/vlayout/vrawsapoint.h | 4 ++-- src/libs/vlayout/vsapoint.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libs/vlayout/vlayoutpoint.h b/src/libs/vlayout/vlayoutpoint.h index 07bf10786..e5945b77f 100644 --- a/src/libs/vlayout/vlayoutpoint.h +++ b/src/libs/vlayout/vlayoutpoint.h @@ -41,7 +41,7 @@ QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor") QT_WARNING_DISABLE_CLANG("-Wnon-virtual-dtor") -QT_WARNING_DISABLE_CLANG("-Wdelete-non-abstract-non-virtual-dtor") +QT_WARNING_DISABLE_CLANG("-Wdelete-non-virtual-dtor") class VLayoutPoint : public QPointF { diff --git a/src/libs/vlayout/vrawsapoint.h b/src/libs/vlayout/vrawsapoint.h index 39e8dc174..0652f2fd8 100644 --- a/src/libs/vlayout/vrawsapoint.h +++ b/src/libs/vlayout/vrawsapoint.h @@ -40,9 +40,9 @@ QT_WARNING_DISABLE_GCC("-Weffc++") // cppcheck-suppress unknownMacro QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor") QT_WARNING_DISABLE_CLANG("-Wnon-virtual-dtor") -QT_WARNING_DISABLE_CLANG("-Wdelete-non-abstract-non-virtual-dtor") +QT_WARNING_DISABLE_CLANG("-Wdelete-non-virtual-dtor") -class VRawSAPoint : public VLayoutPoint +class VRawSAPoint final : public VLayoutPoint { public: Q_DECL_CONSTEXPR VRawSAPoint() = default; diff --git a/src/libs/vlayout/vsapoint.h b/src/libs/vlayout/vsapoint.h index bfeb0153b..b1b27cc7d 100644 --- a/src/libs/vlayout/vsapoint.h +++ b/src/libs/vlayout/vsapoint.h @@ -42,12 +42,12 @@ QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor") QT_WARNING_DISABLE_CLANG("-Wnon-virtual-dtor") -QT_WARNING_DISABLE_CLANG("-Wdelete-non-abstract-non-virtual-dtor") +QT_WARNING_DISABLE_CLANG("-Wdelete-non-virtual-dtor") /** * @brief The VSAPoint class seam allowance point */ -class VSAPoint : public VLayoutPoint +class VSAPoint final : public VLayoutPoint { public: QT_WARNING_PUSH