summaryrefslogtreecommitdiffstats
path: root/Source/cmWrapExcludeFilesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWrapExcludeFilesCommand.cxx')
-rw-r--r--Source/cmWrapExcludeFilesCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmWrapExcludeFilesCommand.cxx b/Source/cmWrapExcludeFilesCommand.cxx
index 05a0a1d..153d30e 100644
--- a/Source/cmWrapExcludeFilesCommand.cxx
+++ b/Source/cmWrapExcludeFilesCommand.cxx
@@ -32,12 +32,12 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args
for(cmMakefile::SourceMap::iterator l = Classes.begin();
l != Classes.end(); l++)
{
- for(std::vector<cmSourceFile>::iterator i = l->second.begin();
+ for(std::vector<cmSourceFile*>::iterator i = l->second.begin();
i != l->second.end(); i++)
{
- if(i->GetSourceName() == (*j))
+ if((*i)->GetSourceName() == (*j))
{
- i->SetWrapExclude(true);
+ (*i)->SetWrapExclude(true);
}
}
}