QCommandLineOption: declare as shared
QCommandLineOptions are held in a QList in QCommandLineParser, so they better be declared movable, which is one of the things Q_DECLARE_SHARED enables. Change-Id: I75c8185534b4e9c1ea4417a9507095c8a6512aab Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
6bbaeefb90
commit
ae4c7be67d
@ -87,6 +87,8 @@ private:
|
||||
QSharedDataPointer<QCommandLineOptionPrivate> d;
|
||||
};
|
||||
|
||||
Q_DECLARE_SHARED(QCommandLineOption)
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // QCOMMANDLINEOPTION_H
|
||||
|
Loading…
Reference in New Issue
Block a user