diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-10-05 02:26:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-07 01:08:09 +0200 |
commit | ae4c7be67d6a840a8d724bb1f986314cbbe47eb3 (patch) | |
tree | a36ddc44c7327ecfcb43c0257236867fe5ec160e /src | |
parent | 6bbaeefb90eb3541e37631714007b0f73f83d55f (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/tools/qcommandlineoption.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qcommandlineoption.h b/src/corelib/tools/qcommandlineoption.h index 7775aae5b6..49223cda37 100644 --- a/src/corelib/tools/qcommandlineoption.h +++ b/src/corelib/tools/qcommandlineoption.h @@ -87,6 +87,8 @@ private: QSharedDataPointer<QCommandLineOptionPrivate> d; }; +Q_DECLARE_SHARED(QCommandLineOption) + QT_END_NAMESPACE #endif // QCOMMANDLINEOPTION_H |