Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit b2d7a839 authored by Brad King's avatar Brad King
Browse files

COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.

parent 192de486
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment