Suppress GCC warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-27 20:44:13 +02:00
parent dd452e66a8
commit eb87d703a2

View File

@ -42,6 +42,12 @@ class VCommandLine;
using VCommandLinePtr = std::shared_ptr<VCommandLine>; using VCommandLinePtr = std::shared_ptr<VCommandLine>;
using VLayoutGeneratorPtr = std::shared_ptr<VLayoutGenerator>; using VLayoutGeneratorPtr = std::shared_ptr<VLayoutGenerator>;
QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Weffc++")
/**
* @brief The VCommandLineOption class wrapper for class QCommandLineOption. Add support for containers.
*/
class VCommandLineOption : public QCommandLineOption class VCommandLineOption : public QCommandLineOption
{ {
public: public:
@ -57,6 +63,8 @@ public:
: QCommandLineOption(names, description, valueName, defaultValue) {} : QCommandLineOption(names, description, valueName, defaultValue) {}
}; };
QT_WARNING_POP
//@brief: class used to install export command line options and parse their values //@brief: class used to install export command line options and parse their values
//QCommandLineParser* object must exists until this object alive //QCommandLineParser* object must exists until this object alive
class VCommandLine class VCommandLine