From d56acab0b1637cfcb9ce08cb42b502811f24e893 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 30 Aug 2022 14:42:44 +0300 Subject: [PATCH] Cppcheck warnings. --- scripts/cppcheck.sh | 2 ++ src/libs/vtools/visualization/line/operation/visoperation.h | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh index 7a3cda9c1..98c029ccc 100755 --- a/scripts/cppcheck.sh +++ b/scripts/cppcheck.sh @@ -18,4 +18,6 @@ $CPPCHECK \ --library=posix \ --inconclusive \ --suppress=*:*/vdxf/libdxfrw/intern/make_unique.h \ + --inconclusive \ + --suppress=*:*/qmuparser/make_unique.h \ ../src diff --git a/src/libs/vtools/visualization/line/operation/visoperation.h b/src/libs/vtools/visualization/line/operation/visoperation.h index 42a55032a..bda3ff318 100644 --- a/src/libs/vtools/visualization/line/operation/visoperation.h +++ b/src/libs/vtools/visualization/line/operation/visoperation.h @@ -59,6 +59,7 @@ protected: auto Objects() const -> const QVector &; private: + // cppcheck-suppress unknownMacro Q_DISABLE_COPY_MOVE(VisOperation) // NOLINT QVector m_objects{};