diff options
Diffstat (limited to 'Source/cmAbstractFilesCommand.cxx')
-rw-r--r-- | Source/cmAbstractFilesCommand.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx index 5c2b590..738e811 100644 --- a/Source/cmAbstractFilesCommand.cxx +++ b/Source/cmAbstractFilesCommand.cxx @@ -23,19 +23,19 @@ bool cmAbstractFilesCommand::Invoke(std::vector<std::string>& args) this->SetError("called with incorrect number of arguments"); return false; } - cmMakefile::ClassMap &Classes = m_Makefile->GetClasses(); + cmMakefile::SourceMap &Classes = m_Makefile->GetSources(); for(std::vector<std::string>::iterator j = args.begin(); j != args.end(); ++j) { - for(cmMakefile::ClassMap::iterator l = Classes.begin(); + for(cmMakefile::SourceMap::iterator l = Classes.begin(); l != Classes.end(); l++) { - for(std::vector<cmClassFile>::iterator i = l->second.begin(); + for(std::vector<cmSourceFile>::iterator i = l->second.begin(); i != l->second.end(); i++) { - if(i->m_ClassName == (*j)) + if(i->GetSourceName() == (*j)) { - i->m_AbstractClass = true; + i->SetIsAnAbstractClass(true); } } } |