Do not specify type for struct

This commit is contained in:
Albert Vaca 2016-07-12 12:32:58 +02:00
parent 6248f03256
commit 4e8a325479

View file

@ -37,14 +37,14 @@ class DeviceLink
Q_OBJECT
public:
enum PairStatus : bool { NotPaired, Paired };
enum PairStatus { NotPaired, Paired };
DeviceLink(const QString& deviceId, LinkProvider* parent);
virtual ~DeviceLink() = default;
virtual QString name() = 0;
const QString& deviceId() { return mDeviceId; }
const QString& deviceId() const { return mDeviceId; }
LinkProvider* provider() { return mLinkProvider; }
virtual bool sendPackage(NetworkPackage& np) = 0;