From 38df5c36d66313a5dd7859c1c55a41f60f141b13 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 14 Oct 2015 23:44:21 +0200 Subject: Remove now-obsolete casts. --- Source/cmNinjaNormalTargetGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/cmNinjaNormalTargetGenerator.cxx') diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index b5648fe50d..c5dfe2d614 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. -- cgit v1.2.1