SerialBusConnection: Use member initialization
And as we have full C++11 support, so its also preferred to use nullptr.
This commit is contained in:
@@ -33,7 +33,7 @@ private slots:
|
||||
void testConnection();
|
||||
|
||||
protected:
|
||||
QCanBusDevice* mDev_p;
|
||||
QCanBusDevice *mDev_p = nullptr;
|
||||
QTimer mTimer;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user