Mercurial > hg > svcore
diff base/PlayParameterRepository.cpp @ 1582:70e172e6cc59 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:41 +0000 |
parents | 48e9f538e6e9 |
children | 52705a328b34 |
line wrap: on
line diff
--- a/base/PlayParameterRepository.cpp Mon Nov 26 13:51:36 2018 +0000 +++ b/base/PlayParameterRepository.cpp Mon Nov 26 14:33:41 2018 +0000 @@ -92,7 +92,7 @@ PlayParameters * PlayParameterRepository::getPlayParameters(const Playable *playable) { - if (m_playParameters.find(playable) == m_playParameters.end()) return 0; + if (m_playParameters.find(playable) == m_playParameters.end()) return nullptr; return m_playParameters.find(playable)->second; }