Suppress Clang warning.

This commit is contained in:
Roman Telezhynskyi 2022-11-10 15:01:42 +02:00
parent c9abdc350e
commit c190725f1c
3 changed files with 5 additions and 5 deletions

View File

@ -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
{

View File

@ -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;

View File

@ -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