use nullptr when appropriate

This commit is contained in:
Isaac Connor 2020-10-08 16:46:47 -04:00
parent 2f2562a876
commit cb38242917
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ StreamBase::~StreamBase() {
closeComms();
if ( monitor ) {
delete monitor;
monitor = NULL;
monitor = nullptr;
}
}

View File

@ -116,7 +116,7 @@ protected:
public:
StreamBase():
monitor_id(0),
monitor(0),
monitor(nullptr),
type(DEFAULT_TYPE),
format(""),
replay_rate(DEFAULT_RATE),