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