Use C++11 nullptr (cont.)

Fix remaining occurrences of the issue addressed in commit 5962db4389
(Use C++11 nullptr, 2017-08-22) that are only showing up on macOS.

Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
Matthias Maennich
2017-09-18 23:57:50 +02:00
committed by Brad King
parent a1cdf537ff
commit a5279ae553
14 changed files with 68 additions and 67 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ public:
if (i != this->ObjectAttributes.end()) {
return i->second;
}
return 0;
return nullptr;
}
// search the attribute list for an object of the specified type
cmXCodeObject* GetObject(cmXCodeObject::PBXType t) const
@@ -126,7 +126,7 @@ public:
return o;
}
}
return 0;
return nullptr;
}
void CopyAttributes(cmXCodeObject*);