Fixed up a bunch of compiler warnings.
There should be no functional difference, just less noise when compiling
This commit is contained in:
@@ -16,7 +16,7 @@ CANConnection::CANConnection(QString pPort,
|
||||
mIsCapSuspended(false),
|
||||
mStatus(CANCon::NOT_CONNECTED),
|
||||
mStarted(false),
|
||||
mThread_p(NULL)
|
||||
mThread_p(nullptr)
|
||||
{
|
||||
/* register types */
|
||||
qRegisterMetaType<CANBus>("CANBus");
|
||||
@@ -48,7 +48,7 @@ CANConnection::~CANConnection()
|
||||
mThread_p->quit();
|
||||
mThread_p->wait();
|
||||
delete mThread_p;
|
||||
mThread_p = NULL;
|
||||
mThread_p = nullptr;
|
||||
}
|
||||
|
||||
mBusData.clear();
|
||||
|
||||
Reference in New Issue
Block a user