COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.
This commit is contained in:
parent
192de486df
commit
b2d7a839a4
|
@ -315,9 +315,9 @@ void cmMakefile::IssueMessage(std::string const& text, bool isError) const
|
||||||
{
|
{
|
||||||
if(isError)
|
if(isError)
|
||||||
{
|
{
|
||||||
i->Status->SetNestedError(true);
|
(*i).Status->SetNestedError(true);
|
||||||
}
|
}
|
||||||
cmListFileContext const& lfc = *i->Context;
|
cmListFileContext const& lfc = *(*i).Context;
|
||||||
msg
|
msg
|
||||||
<< " at "
|
<< " at "
|
||||||
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
|
<< 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";
|
msg << " with call stack {\n";
|
||||||
while(i != this->CallStack.rend())
|
while(i != this->CallStack.rend())
|
||||||
{
|
{
|
||||||
cmListFileContext const& lfc = *i->Context;
|
cmListFileContext const& lfc = *(*i).Context;
|
||||||
msg << " "
|
msg << " "
|
||||||
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
|
<< this->LocalGenerator->Convert(lfc.FilePath.c_str(),
|
||||||
cmLocalGenerator::HOME)
|
cmLocalGenerator::HOME)
|
||||||
|
|
Loading…
Reference in New Issue