mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 09:09:43 -05:00
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:
committed by
Brad King
parent
a1cdf537ff
commit
a5279ae553
@@ -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*);
|
||||
|
||||
Reference in New Issue
Block a user