Mercurial > hg > svcore
diff plugin/PluginScan.cpp @ 1582:70e172e6cc59 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:41 +0000 |
parents | 232d6ddf257d |
children | 40d8b01efbc6 |
line wrap: on
line diff
--- a/plugin/PluginScan.cpp Mon Nov 26 13:51:36 2018 +0000 +++ b/plugin/PluginScan.cpp Mon Nov 26 14:33:41 2018 +0000 @@ -39,7 +39,7 @@ PluginScan *PluginScan::getInstance() { static QMutex mutex; - static PluginScan *m_instance = 0; + static PluginScan *m_instance = nullptr; mutex.lock(); if (!m_instance) m_instance = new PluginScan(); mutex.unlock();