diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-14 21:44:21 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:40 (GMT) |
commit | 38df5c36d66313a5dd7859c1c55a41f60f141b13 (patch) | |
tree | 01edfb795e3825fb89057452d897811a5e3d42ea /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 4ee2b2670854b071c8b8ceafb2a4a00f72069ef9 (diff) | |
download | CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.zip CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.gz CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.bz2 |
Remove now-obsolete casts.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index b5648fe..c5dfe2d 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -157,7 +157,7 @@ cmNinjaNormalTargetGenerator return this->TargetLinkLanguage + "_" + cmTarget::GetTargetTypeName( - (cmState::TargetType)this->GetGeneratorTarget()->GetType()) + this->GetGeneratorTarget()->GetType()) + "_LINKER__" + cmGlobalNinjaGenerator::EncodeRuleName(this->GetTarget()->GetName()) ; @@ -168,7 +168,7 @@ cmNinjaNormalTargetGenerator ::WriteLinkRule(bool useResponseFile) { cmState::TargetType targetType = - (cmState::TargetType)this->GetGeneratorTarget()->GetType(); + this->GetGeneratorTarget()->GetType(); std::string ruleName = this->LanguageLinkerRule(); // Select whether to use a response file for objects. |