diff options
author | Brad King <brad.king@kitware.com> | 2008-03-08 14:21:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-08 14:21:30 (GMT) |
commit | b2d7a839a41e5bb922dded739cb17669ca8c5701 (patch) | |
tree | a9ef81b24dc8f15f7901cf0e3ed8b2e87f0a148e | |
parent | 192de486dfc981b6560bcfa08eeba903611d47d4 (diff) | |
download | CMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.zip CMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.tar.gz CMake-b2d7a839a41e5bb922dded739cb17669ca8c5701.tar.bz2 |
COMP: Avoid using operator-> on const_reverse_iterator to help old compilers.
-rw-r--r-- | Source/cmMakefile.cxx | 6 |
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) |