forked from qt-creator/qt-creator
ProStringList is a movable type, so let qt know
Change-Id: Ib3b632e8fbd484ad20418926398e224fe1549f5b Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -245,6 +245,7 @@ public:
|
|||||||
{ return contains(ProString(str), cs); }
|
{ return contains(ProString(str), cs); }
|
||||||
bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
|
bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
|
||||||
};
|
};
|
||||||
|
Q_DECLARE_TYPEINFO(ProStringList, Q_MOVABLE_TYPE);
|
||||||
|
|
||||||
inline ProStringList operator+(const ProStringList &one, const ProStringList &two)
|
inline ProStringList operator+(const ProStringList &one, const ProStringList &two)
|
||||||
{ ProStringList ret = one; ret += two; return ret; }
|
{ ProStringList ret = one; ret += two; return ret; }
|
||||||
|
Reference in New Issue
Block a user