Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
1581:ad5f892c0c4d | 1582:70e172e6cc59 |
---|---|
90 } | 90 } |
91 | 91 |
92 PlayParameters * | 92 PlayParameters * |
93 PlayParameterRepository::getPlayParameters(const Playable *playable) | 93 PlayParameterRepository::getPlayParameters(const Playable *playable) |
94 { | 94 { |
95 if (m_playParameters.find(playable) == m_playParameters.end()) return 0; | 95 if (m_playParameters.find(playable) == m_playParameters.end()) return nullptr; |
96 return m_playParameters.find(playable)->second; | 96 return m_playParameters.find(playable)->second; |
97 } | 97 } |
98 | 98 |
99 void | 99 void |
100 PlayParameterRepository::playParametersChanged() | 100 PlayParameterRepository::playParametersChanged() |