use nullptr when appropriate
This commit is contained in:
parent
2f2562a876
commit
cb38242917
|
@ -39,7 +39,7 @@ StreamBase::~StreamBase() {
|
|||
closeComms();
|
||||
if ( monitor ) {
|
||||
delete monitor;
|
||||
monitor = NULL;
|
||||
monitor = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ protected:
|
|||
public:
|
||||
StreamBase():
|
||||
monitor_id(0),
|
||||
monitor(0),
|
||||
monitor(nullptr),
|
||||
type(DEFAULT_TYPE),
|
||||
format(""),
|
||||
replay_rate(DEFAULT_RATE),
|
||||
|
|
Loading…
Reference in New Issue