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/cmGeneratorTarget.cxx | |
parent | 4ee2b2670854b071c8b8ceafb2a4a00f72069ef9 (diff) | |
download | CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.zip CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.gz CMake-38df5c36d66313a5dd7859c1c55a41f60f141b13.tar.bz2 |
Remove now-obsolete casts.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index dc02734..f5c5191 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -1965,7 +1965,7 @@ cmGeneratorTarget::CompileInfo const* cmGeneratorTarget::GetCompileInfo( std::string msg = "cmTarget::GetCompileInfo called for "; msg += this->GetName(); msg += " which has type "; - msg += cmTarget::GetTargetTypeName((cmState::TargetType)this->GetType()); + msg += cmTarget::GetTargetTypeName(this->GetType()); this->LocalGenerator->IssueMessage(cmake::INTERNAL_ERROR, msg); return 0; } @@ -4697,7 +4697,7 @@ cmGeneratorTarget::OutputInfo const* cmGeneratorTarget::GetOutputInfo( std::string msg = "cmGeneratorTarget::GetOutputInfo called for "; msg += this->GetName(); msg += " which has type "; - msg += cmTarget::GetTargetTypeName(cmState::TargetType(this->GetType())); + msg += cmTarget::GetTargetTypeName(this->GetType()); this->LocalGenerator->IssueMessage(cmake::INTERNAL_ERROR, msg); return 0; } |