mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
refs #937 Resolved clazy warnings: pass-by-value/reference.
This commit is contained in:
@@ -137,7 +137,7 @@ namespace BlackMisc
|
||||
CUrl withSwitchedScheme(const QString &protocol, int port) const;
|
||||
|
||||
//! Path ending with?
|
||||
bool pathEndsWith(const QString ending, Qt::CaseSensitivity cs = Qt::CaseInsensitive) const;
|
||||
bool pathEndsWith(const QString &ending, Qt::CaseSensitivity cs = Qt::CaseInsensitive) const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
|
||||
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
|
||||
@@ -173,7 +173,7 @@ namespace BlackMisc
|
||||
QString m_path;
|
||||
QString m_query;
|
||||
|
||||
static QString stripQueryString(const QString query);
|
||||
static QString stripQueryString(const QString &query);
|
||||
|
||||
BLACK_METACLASS(
|
||||
CUrl,
|
||||
|
||||
Reference in New Issue
Block a user