From ae4c7be67d6a840a8d724bb1f986314cbbe47eb3 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 5 Oct 2013 02:26:30 +0200 Subject: 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 --- src/corelib/tools/qcommandlineoption.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/tools/qcommandlineoption.h') 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 d; }; +Q_DECLARE_SHARED(QCommandLineOption) + QT_END_NAMESPACE #endif // QCOMMANDLINEOPTION_H -- cgit v1.2.3