forked from qt-creator/qt-creator
don't pass QLatin1String by ref
it's pointless Change-Id: Ia02762a1f79399970cbdf43b3b20e08b4e54fd3b Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -80,10 +80,10 @@ public:
|
||||
ProString &append(const ProStringList &other, bool *pending = 0, bool skipEmpty1st = false);
|
||||
bool operator==(const ProString &other) const { return toQStringRef() == other.toQStringRef(); }
|
||||
bool operator==(const QString &other) const { return toQStringRef() == other; }
|
||||
bool operator==(const QLatin1String &other) const { return toQStringRef() == other; }
|
||||
bool operator==(QLatin1String other) const { return toQStringRef() == other; }
|
||||
bool operator!=(const ProString &other) const { return !(*this == other); }
|
||||
bool operator!=(const QString &other) const { return !(*this == other); }
|
||||
bool operator!=(const QLatin1String &other) const { return !(*this == other); }
|
||||
bool operator!=(QLatin1String other) const { return !(*this == other); }
|
||||
bool isNull() const { return m_string.isNull(); }
|
||||
bool isEmpty() const { return !m_length; }
|
||||
int size() const { return m_length; }
|
||||
|
Reference in New Issue
Block a user