mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Fix open solaris build issue with concept checking that breaks std vector for a class of itself. Bug #9523.
This commit is contained in:
@@ -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, "$");
|
||||
|
||||
Reference in New Issue
Block a user