diff options
Diffstat (limited to 'Source/cmQTWrapUICommand.cxx')
-rw-r--r-- | Source/cmQTWrapUICommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQTWrapUICommand.cxx b/Source/cmQTWrapUICommand.cxx index 4dc651a..b34e36d 100644 --- a/Source/cmQTWrapUICommand.cxx +++ b/Source/cmQTWrapUICommand.cxx @@ -61,10 +61,10 @@ bool cmQTWrapUICommand::InitialPass(std::vector<std::string> const& args) this->SetError("bad source list passed to QTWrapUICommand"); return false; } - for(std::vector<cmSourceFile>::iterator i = l->second.begin(); + for(std::vector<cmSourceFile*>::iterator i = l->second.begin(); i != l->second.end(); i++) { - cmSourceFile &curr = *i; + cmSourceFile &curr = *(*i); // if we should wrap the class if (!curr.GetWrapExclude()) { |