mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ERR: We can't assume a vector iterator is a pointer. It must be dereferenced to get a reference to the element, and then we can take the address of that to get a pointer. "i" becomes "&*i"
This commit is contained in:
@@ -68,7 +68,7 @@ void cmMakeDepend::SetMakefile(cmMakefile* makefile)
|
||||
info->m_FullPath = this->FullPath(i->m_FullPath.c_str());
|
||||
this->AddFileToSearchPath(info->m_FullPath.c_str());
|
||||
info->m_IncludeName = i->m_FullPath;
|
||||
info->m_ClassFileIndex = i;
|
||||
info->m_ClassFileIndex = &*i;
|
||||
m_DependInformation.push_back(info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user