summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-09-25 17:19:27 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 21:00:52 (GMT)
commit190f2c8253910a9e6870948df58a87950e7b4185 (patch)
treee38e387c287ae55aee25945f5349b911c85d81ef /Source/cmExportInstallFileGenerator.cxx
parent8b5f448ba628dc474d3cd22d67db65551acc0846 (diff)
downloadCMake-190f2c8253910a9e6870948df58a87950e7b4185.zip
CMake-190f2c8253910a9e6870948df58a87950e7b4185.tar.gz
CMake-190f2c8253910a9e6870948df58a87950e7b4185.tar.bz2
exports: fix build with MSVC6
it seems it doesn't like deleting const pointers Alex
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index 94b9f46..cd05e60 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/Source/cmExportInstallFileGenerator.cxx
@@ -37,7 +37,7 @@ std::string cmExportInstallFileGenerator::GetConfigImportFileGlob()
bool cmExportInstallFileGenerator::GenerateMainFile(std::ostream& os)
{
// Create all the imported targets.
- for(std::vector<cmTargetExport const*>::const_iterator
+ for(std::vector<cmTargetExport*>::const_iterator
tei = this->IEGen->GetExportSet()->GetTargetExports()->begin();
tei != this->IEGen->GetExportSet()->GetTargetExports()->end(); ++tei)
{
@@ -163,7 +163,7 @@ cmExportInstallFileGenerator
}
// Add each target in the set to the export.
- for(std::vector<cmTargetExport const*>::const_iterator
+ for(std::vector<cmTargetExport*>::const_iterator
tei = this->IEGen->GetExportSet()->GetTargetExports()->begin();
tei != this->IEGen->GetExportSet()->GetTargetExports()->end(); ++tei)
{