From eb87d703a20e01192870ccb5e90178a6a3d2c478 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 27 Dec 2018 20:44:13 +0200 Subject: [PATCH] Suppress GCC warning. --HG-- branch : develop --- src/app/valentina/core/vcmdexport.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app/valentina/core/vcmdexport.h b/src/app/valentina/core/vcmdexport.h index c6aefe41e..7928cf8d2 100644 --- a/src/app/valentina/core/vcmdexport.h +++ b/src/app/valentina/core/vcmdexport.h @@ -42,6 +42,12 @@ class VCommandLine; using VCommandLinePtr = std::shared_ptr; using VLayoutGeneratorPtr = std::shared_ptr; +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Weffc++") + +/** + * @brief The VCommandLineOption class wrapper for class QCommandLineOption. Add support for containers. + */ class VCommandLineOption : public QCommandLineOption { public: @@ -57,6 +63,8 @@ public: : QCommandLineOption(names, description, valueName, defaultValue) {} }; +QT_WARNING_POP + //@brief: class used to install export command line options and parse their values //QCommandLineParser* object must exists until this object alive class VCommandLine