diff options
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r-- | Source/cmQTWrapCPPCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx index 8a1a044..0a82c26 100644 --- a/Source/cmQTWrapCPPCommand.cxx +++ b/Source/cmQTWrapCPPCommand.cxx @@ -60,10 +60,10 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector<std::string> const& args) this->SetError("bad source list passed to QTWrapCPPCommand"); 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()) { |