diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 14:31:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-14 14:31:38 (GMT) |
commit | 6a9a958591e91d416ec330777f9692082961ff04 (patch) | |
tree | fb5100568a43272b631d0c867d3f5ceee77c7ea5 /Source/cmDependsJavaParserHelper.cxx | |
parent | da29eb892bff37d6f338d4fc154bb4df4a04244c (diff) | |
download | CMake-6a9a958591e91d416ec330777f9692082961ff04.zip CMake-6a9a958591e91d416ec330777f9692082961ff04.tar.gz CMake-6a9a958591e91d416ec330777f9692082961ff04.tar.bz2 |
Fix open solaris build issue with concept checking that breaks std vector for a class of itself. Bug #9523.
Diffstat (limited to 'Source/cmDependsJavaParserHelper.cxx')
-rw-r--r-- | Source/cmDependsJavaParserHelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmDependsJavaParserHelper.cxx b/Source/cmDependsJavaParserHelper.cxx index 64156bd..bb8130a 100644 --- a/Source/cmDependsJavaParserHelper.cxx +++ b/Source/cmDependsJavaParserHelper.cxx @@ -52,8 +52,8 @@ void cmDependsJavaParserHelper::CurrentClass rname += this->Name; files->push_back(rname); std::vector<CurrentClass>::iterator it; - for ( it = this->NestedClasses.begin(); - it != this->NestedClasses.end(); + for ( it = this->NestedClasses->begin(); + it != this->NestedClasses->end(); ++ it ) { it->AddFileNamesForPrinting(files, rname.c_str(), sep); @@ -249,7 +249,7 @@ void cmDependsJavaParserHelper::EndClass() abort(); } this->CurrentDepth --; - parent->NestedClasses.push_back(*current); + parent->NestedClasses->push_back(*current); this->ClassStack.erase(this->ClassStack.end()-1, this->ClassStack.end()); } @@ -275,8 +275,8 @@ std::vector<cmStdString> cmDependsJavaParserHelper::GetFilesProduced() std::vector<cmStdString> files; CurrentClass* toplevel = &(*(this->ClassStack.begin())); std::vector<CurrentClass>::iterator it; - for ( it = toplevel->NestedClasses.begin(); - it != toplevel->NestedClasses.end(); + for ( it = toplevel->NestedClasses->begin(); + it != toplevel->NestedClasses->end(); ++ it ) { it->AddFileNamesForPrinting(&files, 0, "$"); |