summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 29f92e7..f50cbf7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -315,9 +315,9 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
{
if(isError)
{
- i->Status->SetNestedError(true);
+ (*i).Status->SetNestedError(true);
}
- cmListFileContext const& lfc = *i->Context;
+ cmListFileContext const& lfc = *(*i).Context;
msg
<< " at "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
@@ -341,7 +341,7 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
msg << " with call stack {\n";
while(i != this->CallStack.rend())
{
- cmListFileContext const& lfc = *i->Context;
+ cmListFileContext const& lfc = *(*i).Context;
msg << " "
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
cmLocalGenerator::HOME)