Codechange: Use null pointer literal instead of the NULL macro
This commit is contained in:

committed by
Michael Lutz

parent
3b4f224c0b
commit
7c8e7c6b6e
@@ -143,7 +143,7 @@ struct CSegmentCostCacheT : public CSegmentCostCacheBase {
|
||||
inline Tsegment& Get(Key &key, bool *found)
|
||||
{
|
||||
Tsegment *item = m_map.Find(key);
|
||||
if (item == NULL) {
|
||||
if (item == nullptr) {
|
||||
*found = false;
|
||||
item = new (m_heap.Append()) Tsegment(key);
|
||||
m_map.Push(*item);
|
||||
|
Reference in New Issue
Block a user