diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-12 22:06:05 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-13 14:27:23 (GMT) |
commit | 9ad804ac7be18efb92040434808f89174586b13d (patch) | |
tree | f439c944534f4ad1e01a5ec7810369b67b36de81 /Source/cmOSXBundleGenerator.cxx | |
parent | c725bb3cbd51edd4043f81d01b7a01bbd42adb2f (diff) | |
download | CMake-9ad804ac7be18efb92040434808f89174586b13d.zip CMake-9ad804ac7be18efb92040434808f89174586b13d.tar.gz CMake-9ad804ac7be18efb92040434808f89174586b13d.tar.bz2 |
cmGeneratorTarget: Constify cmSourceFile* in containers.
Some of them will be used with other APIs which require value_type
to be cmSourceFile const*.
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r-- | Source/cmOSXBundleGenerator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx index 835f892..6f16913 100644 --- a/Source/cmOSXBundleGenerator.cxx +++ b/Source/cmOSXBundleGenerator.cxx @@ -190,13 +190,14 @@ void cmOSXBundleGenerator::CreateCFBundle(const std::string& targetName, //---------------------------------------------------------------------------- void cmOSXBundleGenerator:: -GenerateMacOSXContentStatements(std::vector<cmSourceFile*> const& sources, - MacOSXContentGeneratorType* generator) +GenerateMacOSXContentStatements( + std::vector<cmSourceFile const*> const& sources, + MacOSXContentGeneratorType* generator) { if (this->MustSkip()) return; - for(std::vector<cmSourceFile*>::const_iterator + for(std::vector<cmSourceFile const*>::const_iterator si = sources.begin(); si != sources.end(); ++si) { cmGeneratorTarget::SourceFileFlags tsFlags = |