Suppress Clang warning.
This commit is contained in:
parent
c9abdc350e
commit
c190725f1c
|
@ -41,7 +41,7 @@ QT_WARNING_PUSH
|
||||||
QT_WARNING_DISABLE_GCC("-Weffc++")
|
QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||||
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
||||||
QT_WARNING_DISABLE_CLANG("-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
|
class VLayoutPoint : public QPointF
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,9 +40,9 @@ QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||||
// cppcheck-suppress unknownMacro
|
// cppcheck-suppress unknownMacro
|
||||||
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
||||||
QT_WARNING_DISABLE_CLANG("-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:
|
public:
|
||||||
Q_DECL_CONSTEXPR VRawSAPoint() = default;
|
Q_DECL_CONSTEXPR VRawSAPoint() = default;
|
||||||
|
|
|
@ -42,12 +42,12 @@ QT_WARNING_PUSH
|
||||||
QT_WARNING_DISABLE_GCC("-Weffc++")
|
QT_WARNING_DISABLE_GCC("-Weffc++")
|
||||||
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor")
|
||||||
QT_WARNING_DISABLE_CLANG("-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
|
* @brief The VSAPoint class seam allowance point
|
||||||
*/
|
*/
|
||||||
class VSAPoint : public VLayoutPoint
|
class VSAPoint final : public VLayoutPoint
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QT_WARNING_PUSH
|
QT_WARNING_PUSH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user