diff options
author | Brad King <brad.king@kitware.com> | 2007-05-28 14:11:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-28 14:11:44 (GMT) |
commit | ba8ec0d5cf2efac0107841dfcfb2534852d3bfe7 (patch) | |
tree | 5f02684355fcaecf75af6ef43f8c3218a441134a /Source/cmQTWrapCPPCommand.cxx | |
parent | d2f62e6ac35a742a762ab6e493cdb4914e6ed1ab (diff) | |
download | CMake-ba8ec0d5cf2efac0107841dfcfb2534852d3bfe7.zip CMake-ba8ec0d5cf2efac0107841dfcfb2534852d3bfe7.tar.gz CMake-ba8ec0d5cf2efac0107841dfcfb2534852d3bfe7.tar.bz2 |
ENH: Made cmSourceFile::GetDepends return reference to const so dependencies can be added only by an access method in cmSourceFile.
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r-- | Source/cmQTWrapCPPCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx index 8a590a7..19033f8 100644 --- a/Source/cmQTWrapCPPCommand.cxx +++ b/Source/cmQTWrapCPPCommand.cxx @@ -82,7 +82,7 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector<std::string> const& argsIn) } this->WrapHeaders.push_back(hname); // add starting depends - file.GetDepends().push_back(hname); + file.AddDepend(hname.c_str()); this->WrapClasses.push_back(file); if (sourceListValue.size() > 0) { |