forked from qt-creator/qt-creator
Device support: Use value semantics for Core::Id.
We had a mixed style until now (mostly using const refs). Use value semantics everywhere for consistency and hope that the class never gets heavier. Change-Id: Ic9536f87b01a76252bd8643c8681b3dc9067a266 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
static Ptr create();
|
||||
static Ptr create(const QString &name, const QString &type, MachineType machineType,
|
||||
Origin origin = ManuallyAdded, const Core::Id &id = Core::Id());
|
||||
Origin origin = ManuallyAdded, Core::Id id = Core::Id());
|
||||
|
||||
QString displayType() const;
|
||||
ProjectExplorer::IDeviceWidget *createWidget();
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
protected:
|
||||
LinuxDeviceConfiguration();
|
||||
LinuxDeviceConfiguration(const QString &name, const QString &type, MachineType machineType,
|
||||
Origin origin, const Core::Id &id);
|
||||
Origin origin, Core::Id id);
|
||||
LinuxDeviceConfiguration(const LinuxDeviceConfiguration &other);
|
||||
|
||||
QVariantMap toMap() const;
|
||||
|
||||
Reference in New Issue
Block a user