summaryrefslogtreecommitdiff
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index fef088ecb1..68cbe738ee 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -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);
}
}