Mercurial > hg > svcore
comparison base/Profiler.cpp @ 1582:70e172e6cc59 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:41 +0000 |
parents | 48e9f538e6e9 |
children | ecd3152750a5 |
comparison
equal
deleted
inserted
replaced
1581:ad5f892c0c4d | 1582:70e172e6cc59 |
---|---|
27 #include <vector> | 27 #include <vector> |
28 #include <algorithm> | 28 #include <algorithm> |
29 #include <set> | 29 #include <set> |
30 #include <map> | 30 #include <map> |
31 | 31 |
32 Profiles* Profiles::m_instance = 0; | 32 Profiles* Profiles::m_instance = nullptr; |
33 | 33 |
34 Profiles* Profiles::getInstance() | 34 Profiles* Profiles::getInstance() |
35 { | 35 { |
36 if (!m_instance) m_instance = new Profiles(); | 36 if (!m_instance) m_instance = new Profiles(); |
37 | 37 |