summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-14 21:44:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:41:40 (GMT)
commit38df5c36d66313a5dd7859c1c55a41f60f141b13 (patch)
tree01edfb795e3825fb89057452d897811a5e3d42ea /Source/cmInstallTargetGenerator.cxx
parent4ee2b2670854b071c8b8ceafb2a4a00f72069ef9 (diff)
downloadCMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.zip
CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.gz
CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.bz2
Remove now-obsolete casts.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 66b6fc7..2f08165 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -94,8 +94,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os,
std::vector<std::string> filesFrom;
std::vector<std::string> filesTo;
std::string literal_args;
- cmState::TargetType targetType =
- static_cast<cmState::TargetType>(this->Target->GetType());
+ cmState::TargetType targetType = this->Target->GetType();
cmInstallType type = cmInstallType();
switch(targetType)
{