summaryrefslogtreecommitdiffstats
path: root/Source/cmExportSet.h
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/cmExportSet.h
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/cmExportSet.h')
-rw-r--r--Source/cmExportSet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportSet.h b/Source/cmExportSet.h
index 91a8bf9..a57aa12 100644
--- a/Source/cmExportSet.h
+++ b/Source/cmExportSet.h
@@ -25,20 +25,20 @@ public:
/// Destructor
~cmExportSet();
- void AddTargetExport(cmTargetExport const* tgt);
+ void AddTargetExport(cmTargetExport* tgt);
void AddInstallation(cmInstallExportGenerator const* installation);
std::string const& GetName() const { return this->Name; }
- std::vector<cmTargetExport const*> const* GetTargetExports() const
+ std::vector<cmTargetExport*> const* GetTargetExports() const
{ return &this->TargetExports; }
std::vector<cmInstallExportGenerator const*> const* GetInstallations() const
{ return &this->Installations; }
private:
- std::vector<cmTargetExport const*> TargetExports;
+ std::vector<cmTargetExport*> TargetExports;
std::string Name;
std::vector<cmInstallExportGenerator const*> Installations;
};