mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
clang-tidy: fix modernize-use-auto lints
This commit is contained in:
@@ -129,7 +129,7 @@ public:
|
||||
// search the attribute list for an object of the specified type
|
||||
cmXCodeObject* GetObject(cmXCodeObject::PBXType t) const
|
||||
{
|
||||
for (auto o : this->List) {
|
||||
for (auto* o : this->List) {
|
||||
if (o->IsA == t) {
|
||||
return o;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user