mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Fixed clazy warnings: pass large objects by reference to const.
This commit is contained in:
@@ -126,10 +126,10 @@ namespace BlackMisc
|
||||
static bool isP2PConnection(const QDBusConnection &connection);
|
||||
|
||||
//! Extract host and port from a DBus address
|
||||
static bool dBusAddressToHostAndPort(QString dbusAddress, QString &o_host, int &o_port);
|
||||
static bool dBusAddressToHostAndPort(const QString &dbusAddress, QString &o_host, int &o_port);
|
||||
|
||||
//! Extract host and port from a DBus address
|
||||
static bool dBusAddressToHostAndPort(QString dbusAddress, QString &o_host, QString &o_port);
|
||||
static bool dBusAddressToHostAndPort(const QString &dbusAddress, QString &o_host, QString &o_port);
|
||||
|
||||
//! Is the given connection one of the default connections?
|
||||
static bool isQtDefaultConnection(const QDBusConnection &connection);
|
||||
|
||||
Reference in New Issue
Block a user