Replace the zeroing of pointers with nullptr

This commit is contained in:
thalieht 2018-04-15 13:06:31 +03:00 committed by sledgehammer999
parent 667f84995c
commit 9cb190ebe7
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
47 changed files with 98 additions and 98 deletions

View file

@ -59,7 +59,7 @@
#include "utils/fs.h"
#include "utils/misc.h"
Preferences *Preferences::m_instance = 0;
Preferences *Preferences::m_instance = nullptr;
Preferences::Preferences() = default;
@ -78,7 +78,7 @@ void Preferences::freeInstance()
{
if (m_instance) {
delete m_instance;
m_instance = 0;
m_instance = nullptr;
}
}